/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 plugin-runner.c

fixed incorrect include comments

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
#include <fcntl.h>              /* fcntl(), F_GETFD, F_SETFD,
55
55
                                   FD_CLOEXEC */
56
56
#include <string.h>             /* strsep, strlen(), asprintf(),
57
 
                                   strsignal() */
 
57
                                   strsignal(), strcmp(), strncmp() */
58
58
#include <errno.h>              /* errno */
59
59
#include <argp.h>               /* struct argp_option, struct
60
60
                                   argp_state, struct argp,
770
770
      for(const char **suf = bad_suffixes; *suf != NULL; suf++){
771
771
        size_t suf_len = strlen(*suf);
772
772
        if((d_name_len >= suf_len)
773
 
           and (strcmp((dirst->d_name)+d_name_len-suf_len, *suf)
 
773
           and (strcmp((dirst->d_name) + d_name_len-suf_len, *suf)
774
774
                == 0)){
775
775
          if(debug){
776
776
            fprintf(stderr, "Ignoring plugin dir entry \"%s\""