Parent Directory | Revision Log | Patch
revision 1.10 by hauk, Fri Jul 25 12:50:38 2003 UTC | revision 1.11 by hauk, Fri Jul 25 14:59:28 2003 UTC | |
---|---|---|
# | Line 213 static void handle_event(Event_T E) { | Line 213 static void handle_event(Event_T E) { |
213 | ||
214 | ASSERT(E); | ASSERT(E); |
215 | ||
216 | if(E->message) { | |
217 | log("%s", E->message); | |
218 | } | |
219 | ||
220 | switch(E->id) { | switch(E->id) { |
221 | case EVENT_STOP: handle_stop(E); break; | case EVENT_STOP: handle_stop(E); break; |
222 | case EVENT_START: handle_start(E); break; | case EVENT_START: handle_start(E); break; |
# | Line 227 static void handle_event(Event_T E) { | Line 231 static void handle_event(Event_T E) { |
231 | handle_alert(E); | handle_alert(E); |
232 | } | } |
233 | ||
if(E->message) { | ||
log("%s", E->message); | ||
} | ||
234 | Event_free(&E); | Event_free(&E); |
235 | ||
236 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |