* added assert to kill interlogger if head==NULL and tail!=NULL
authorMichal Voců <michal@ruk.cuni.cz>
Fri, 14 Jan 2005 15:00:04 +0000 (15:00 +0000)
committerMichal Voců <michal@ruk.cuni.cz>
Fri, 14 Jan 2005 15:00:04 +0000 (15:00 +0000)
org.glite.lb.logger/src/event_queue.c

index a0a018f..ad8ade1 100644 (file)
@@ -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);
 }