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

Diff of /monit/event.c

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

revision 1.16 by hauk, Wed Aug 6 00:53:17 2003 UTC revision 1.17 by martinp, Mon Aug 11 23:30:54 2003 UTC
# Line 395  static void handle_permission(Event_T E) Line 395  static void handle_permission(Event_T E)
395  static void handle_uid(Event_T E) {  static void handle_uid(Event_T E) {
396    
397    LOCK(Run.mutex)    LOCK(Run.mutex)
398        E->source->do_monitor= FALSE;        E->source->uid->has_error= TRUE;
       E->source->has_uid_error= TRUE;  
399    END_LOCK;    END_LOCK;
400    
401  }  }
# Line 405  static void handle_uid(Event_T E) { Line 404  static void handle_uid(Event_T E) {
404  static void handle_gid(Event_T E) {  static void handle_gid(Event_T E) {
405    
406    LOCK(Run.mutex)    LOCK(Run.mutex)
407        E->source->do_monitor= FALSE;        E->source->gid->has_error= TRUE;
       E->source->has_gid_error= TRUE;  
408    END_LOCK;    END_LOCK;
409    
410  }  }

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

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