/mandos/trunk

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

« back to all changes in this revision

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

  • Committer: Teddy Hogeborn
  • Date: 2014-05-11 20:18:48 UTC
  • mto: This revision was merged to the branch mainline in revision 682.
  • Revision ID: teddy@recompile.se-20140511201848-blw9pl5c76upkhdc
Tags: version-1.6.5-1
* Makefile (version): Changed to "1.6.5".
* NEWS (Version 1.6.5): New entry.
* debian/changelog (1.6.5-1): - '' -

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);
1363
1362
  if(not (S_ISREG(st.st_mode))){
1364
1363
    /* Not a regular file */
1365
1364
    if(debug){
2487
2486
  if(debug){
2488
2487
    fprintf_plus(stderr, "Starting Avahi loop search\n");
2489
2488
  }
2490
 
  
 
2489
 
2491
2490
  ret = avahi_loop_with_timeout(simple_poll,
2492
2491
                                (int)(retry_interval * 1000), &mc);
2493
2492
  if(debug){
2597
2596
        free(fullname);
2598
2597
      }
2599
2598
    }
2600
 
    
 
2599
 
2601
2600
    /* need to clean even if 0 because man page doesn't specify */
2602
2601
    free(direntries);
2603
2602
    if(numentries == -1){