/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-17 01:21:27 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090917012127-4kwzquwuvudwucuv
* debian/control (Standards-Version): Updated to "2.8.3".

* mandos-client.conf.xml (OPTIONS/timeout): Add that a successful
                                            client request will also
                                            reset the timeout.
* mandos.xml (CHECKING): - '' -

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