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:
13c560d
)
handle zero expiration correctly
author
Michal Voců
<michal@ruk.cuni.cz>
Tue, 15 Jan 2008 15:37:17 +0000
(15:37 +0000)
committer
Michal Voců
<michal@ruk.cuni.cz>
Tue, 15 Jan 2008 15:37:17 +0000
(15:37 +0000)
org.glite.lb.logger/src/queue_thread.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.logger/src/queue_thread.c
b/org.glite.lb.logger/src/queue_thread.c
index
b75c501
..
20c25e7
100644
(file)
--- a/
org.glite.lb.logger/src/queue_thread.c
+++ b/
org.glite.lb.logger/src/queue_thread.c
@@
-34,7
+34,7
@@
int
cmp_expires(struct server_msg *msg, void *data)
{
time_t *t = (time_t*)data;
- return
msg->expires < *t
;
+ return
(msg->expires > 0) && (msg->expires < *t)
;
}
static