/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

  • Committer: Teddy Hogeborn
  • Date: 2009-09-19 19:18:49 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090919191849-mg04fr6wyll47zjf
* mandos (MandosServer): Fixed doc string.

* plugin-runner.c (main): Note warnings from "-Wconversion".

Show diffs side-by-side

added added

removed removed

Lines of Context:
968
968
      goto fallback;
969
969
    }
970
970
    
971
 
    FD_SET(new_plugin->fd, &rfds_all);
 
971
    FD_SET(new_plugin->fd, &rfds_all); /* Spurious warning from
 
972
                                          -Wconversion */
972
973
    
973
974
    if(maxfd < new_plugin->fd){
974
975
      maxfd = new_plugin->fd;
1028
1029
          }
1029
1030
          
1030
1031
          /* Remove the plugin */
1031
 
          FD_CLR(proc->fd, &rfds_all);
 
1032
          FD_CLR(proc->fd, &rfds_all); /* Spurious warning from
 
1033
                                          -Wconversion */
1032
1034
          
1033
1035
          /* Block signal while modifying process_list */
1034
1036
          ret = (int)TEMP_FAILURE_RETRY(sigprocmask
1074
1076
      }
1075
1077
      
1076
1078
      /* This process has not completed.  Does it have any output? */
1077
 
      if(proc->eof or not FD_ISSET(proc->fd, &rfds)){
 
1079
      if(proc->eof or not FD_ISSET(proc->fd, &rfds)){ /* Spurious
 
1080
                                                         warning from
 
1081
                                                         -Wconversion */
1078
1082
        /* This process had nothing to say at this time */
1079
1083
        proc = proc->next;
1080
1084
        continue;