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:
fb7bbe1
)
use owner only for notifications
author
Michal Voců
<michal@ruk.cuni.cz>
Wed, 29 Feb 2012 09:43:37 +0000
(09:43 +0000)
committer
Michal Voců
<michal@ruk.cuni.cz>
Wed, 29 Feb 2012 09:43:37 +0000
(09:43 +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
69bdbfe
..
059d838
100644
(file)
--- a/
org.glite.lb.logger/src/event_queue.c
+++ b/
org.glite.lb.logger/src/event_queue.c
@@
-257,6
+257,7
@@
event_queue_insert(struct event_queue *eq, struct server_msg *msg)
if(++eq->cur_len > eq->max_len)
eq->max_len = eq->cur_len;
+#ifdef IL_NOTIFICATIONS
if(msg->owner) {
if(eq->owner) {
if(strcmp(eq->owner, msg->owner)) {
@@
-267,6
+268,7
@@
event_queue_insert(struct event_queue *eq, struct server_msg *msg)
eq->owner = strdup(msg->owner);
}
}
+#endif /* IL_NOTIFICATIONS */
event_queue_unlock(eq);
/* end of critical section */