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:
e12369f
)
proper jobId allocation
author
Jan Pospíšil
<honik@ntc.zcu.cz>
Tue, 21 Mar 2006 13:44:25 +0000
(13:44 +0000)
committer
Jan Pospíšil
<honik@ntc.zcu.cz>
Tue, 21 Mar 2006 13:44:25 +0000
(13:44 +0000)
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
f6001af
..
d5925f7
100644
(file)
--- a/
org.glite.lb.server/src/lb_plugin.c
+++ b/
org.glite.lb.server/src/lb_plugin.c
@@
-427,7
+427,9
@@
static int lb_status(edg_wll_Event **events, edg_wll_JobStat *status) {
/* XXX: job owner and jobId not filled from events normally */
if (events[i]->any.type == EDG_WLL_EVENT_REGJOB) {
js->pub.owner = check_strdup(events[i]->any.user);
- js->pub.jobId = events[i]->any.jobId;
+ if (edg_wlc_JobIdDup(events[i]->any.jobId,&js->pub.jobId)) {
+ goto err;
+ }
}
if (processEvent(js, events[i], 0, be_strict, &errstring) == RET_FATAL) {
goto err;