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:
49d79f6
)
Minor fix in adjust_validity()
author
Zdeněk Šustr
<sustr4@cesnet.cz>
Mon, 10 Mar 2008 13:00:55 +0000
(13:00 +0000)
committer
Zdeněk Šustr
<sustr4@cesnet.cz>
Mon, 10 Mar 2008 13:00:55 +0000
(13:00 +0000)
org.glite.lb.server/src/notification.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server/src/notification.c
b/org.glite.lb.server/src/notification.c
index
02bc136
..
cc22d7d
100644
(file)
--- a/
org.glite.lb.server/src/notification.c
+++ b/
org.glite.lb.server/src/notification.c
@@
-716,8
+716,9
@@
static void adjust_validity(edg_wll_Context ctx,time_t *valid)
{
time_t now;
+ time(&now);
+
if (*valid <= 0) {
- time(&now);
*valid = now + ctx->notifDuration;
}