From: Michal Voců Date: Fri, 14 Jan 2005 15:00:04 +0000 (+0000) Subject: * added assert to kill interlogger if head==NULL and tail!=NULL X-Git-Tag: glite-lb-logger_R_1_0_1~95 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=13427cdd75c9636752046b19ff162874276c96bd;p=jra1mw.git * added assert to kill interlogger if head==NULL and tail!=NULL --- diff --git a/org.glite.lb.logger/src/event_queue.c b/org.glite.lb.logger/src/event_queue.c index a0a018f..ad8ade1 100644 --- a/org.glite.lb.logger/src/event_queue.c +++ b/org.glite.lb.logger/src/event_queue.c @@ -174,6 +174,7 @@ event_queue_insert(struct event_queue *eq, struct server_msg *msg) event_queue_unlock(eq); /* end of critical section */ + assert(eq->head != NULL); return(0); }