/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to plugins.d/mandos-client.c

  • Committer: Teddy Hogeborn
  • Date: 2014-06-07 20:29:36 UTC
  • mto: (237.7.272 trunk)
  • mto: This revision was merged to the branch mainline in revision 317.
  • Revision ID: teddy@recompile.se-20140607202936-crh5fxrdd804oora
Fix typo in code comment.

* debian/mandos.postinst: Fix typo in comment.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1335
1335
  sret = strspn(direntry->d_name, "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
1336
1336
                "abcdefghijklmnopqrstuvwxyz"
1337
1337
                "0123456789"
1338
 
                "_-");
 
1338
                "_.-");
1339
1339
  if((direntry->d_name)[sret] != '\0'){
1340
1340
    /* Contains non-allowed characters */
1341
1341
    if(debug){
1359
1359
    }
1360
1360
    return 0;
1361
1361
  }
 
1362
  free(fullname);
1362
1363
  if(not (S_ISREG(st.st_mode))){
1363
1364
    /* Not a regular file */
1364
1365
    if(debug){
2486
2487
  if(debug){
2487
2488
    fprintf_plus(stderr, "Starting Avahi loop search\n");
2488
2489
  }
2489
 
 
 
2490
  
2490
2491
  ret = avahi_loop_with_timeout(simple_poll,
2491
2492
                                (int)(retry_interval * 1000), &mc);
2492
2493
  if(debug){
2596
2597
        free(fullname);
2597
2598
      }
2598
2599
    }
2599
 
 
 
2600
    
2600
2601
    /* need to clean even if 0 because man page doesn't specify */
2601
2602
    free(direntries);
2602
2603
    if(numentries == -1){