git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13427cd
)
* added the assert correctly
author
Michal Voců
<michal@ruk.cuni.cz>
Fri, 14 Jan 2005 15:01:18 +0000
(15:01 +0000)
committer
Michal Voců
<michal@ruk.cuni.cz>
Fri, 14 Jan 2005 15:01:18 +0000
(15:01 +0000)
org.glite.lb.logger/src/event_queue.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.logger/src/event_queue.c
b/org.glite.lb.logger/src/event_queue.c
index
ad8ade1
..
75a723f
100644
(file)
--- a/
org.glite.lb.logger/src/event_queue.c
+++ b/
org.glite.lb.logger/src/event_queue.c
@@
-171,10
+171,12
@@
event_queue_insert(struct event_queue *eq, struct server_msg *msg)
if(eq->mark_this && (el->prev == eq->mark_this))
eq->mark_prev = el;
#endif
+
+ assert(eq->head != NULL);
+
event_queue_unlock(eq);
/* end of critical section */
- assert(eq->head != NULL);
return(0);
}