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:
2ec4456
)
bug #19533
author
Jan Pospíšil
<honik@ntc.zcu.cz>
Fri, 1 Sep 2006 13:55:38 +0000
(13:55 +0000)
committer
Jan Pospíšil
<honik@ntc.zcu.cz>
Fri, 1 Sep 2006 13:55:38 +0000
(13:55 +0000)
corrected +1 mistake for stateEnterTimes
org.glite.lb.server/src/lb_plugin.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server/src/lb_plugin.c
b/org.glite.lb.server/src/lb_plugin.c
index
ac02e4b
..
77b1a04
100644
(file)
--- a/
org.glite.lb.server/src/lb_plugin.c
+++ b/
org.glite.lb.server/src/lb_plugin.c
@@
-438,7
+438,7
@@
static int lb_query(void *fpctx,void *handle,const char *attr,glite_jp_attrval_t
for (i=1; i<EDG_WLL_NUMBER_OF_STATCODES; i++) {
av[i].name = strdup(attr);
if (i == h->status.state) av[i].value = check_strdup(h->status.reason);
- av[i].timestamp = h->status.stateEnterTimes[i];
+ av[i].timestamp = h->status.stateEnterTimes[i
+1
];
av[i].size = -1;
}
} else if (strncmp(attr, GLITE_JP_LBTAG_NS, sizeof(GLITE_JP_LBTAG_NS)-1) == 0) {