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

Diff of /monit/event.c

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

revision 1.43 by martinp, Mon Nov 1 21:54:35 2004 UTC revision 1.44 by hauk, Sun Dec 12 23:45:08 2004 UTC
# Line 117  void Event_post(Service_T service, long Line 117  void Event_post(Service_T service, long
117        va_list ap;        va_list ap;
118    
119        va_start(ap, s);        va_start(ap, s);
120        e->message = format(s, ap, &l);        e->message = Util_formatString(s, ap, &l);
121        va_end(ap);        va_end(ap);
122      }      }
123      pthread_mutex_init(&e->mutex, NULL);      pthread_mutex_init(&e->mutex, NULL);
# Line 143  void Event_post(Service_T service, long Line 143  void Event_post(Service_T service, long
143    
144              FREE(e->message);              FREE(e->message);
145              va_start(ap, s);              va_start(ap, s);
146              e->message = format(s, ap, &l);              e->message = Util_formatString(s, ap, &l);
147              va_end(ap);              va_end(ap);
148            }            }
149    
# Line 180  void Event_post(Service_T service, long Line 180  void Event_post(Service_T service, long
180          va_list ap;          va_list ap;
181    
182          va_start(ap, s);          va_start(ap, s);
183          e->message = format(s, ap, &l);          e->message = Util_formatString(s, ap, &l);
184          va_end(ap);          va_end(ap);
185        }        }
186        pthread_mutex_init(&e->mutex, NULL);        pthread_mutex_init(&e->mutex, NULL);

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

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