/[monit]/monit/collector.c
ViewVC logotype

Diff of /monit/collector.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by martinp, Tue Apr 5 19:52:57 2005 UTC revision 1.7 by martinp, Sun Aug 14 08:44:48 2005 UTC
# Line 38  Line 38 
38    
39  #include "monitor.h"  #include "monitor.h"
40  #include "socket.h"  #include "socket.h"
41    #include "event.h"
42    
43    
44  /**  /**
# Line 72  void handle_collector(Event_T E) { Line 73  void handle_collector(Event_T E) {
73    sigset_t     ns;    sigset_t     ns;
74    sigset_t     os;    sigset_t     os;
75    
76    if(!C)    /* The event is send to the collector just once - only in the case
77       * that the state changed */
78      if(!C || (!E->state_changed && E->id != EVENT_CHANGED))
79    {    {
80      return;      return;
81    }    }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26