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:
fa0e023
)
assign strduped value (fixes coredumping)
author
Miloš Mulač
<mulac@civ.zcu.cz>
Mon, 12 Feb 2007 12:45:42 +0000
(12:45 +0000)
committer
Miloš Mulač
<mulac@civ.zcu.cz>
Mon, 12 Feb 2007 12:45:42 +0000
(12:45 +0000)
org.glite.lb.server/src/process_event_pbs.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server/src/process_event_pbs.c
b/org.glite.lb.server/src/process_event_pbs.c
index
c6c4fcd
..
21a7a60
100644
(file)
--- a/
org.glite.lb.server/src/process_event_pbs.c
+++ b/
org.glite.lb.server/src/process_event_pbs.c
@@
-70,7
+70,7
@@
int processEvent_PBS(intJobStat *js, edg_wll_Event *e, int ev_seq, int strict, c
}
if (USABLE_DATA(res)) {
if (!js->pub.pbs_queue)
- strdup(e->PBSQueued.queue);
+
js->pub.pbs_queue =
strdup(e->PBSQueued.queue);
assert(!strcmp(js->pub.pbs_queue, e->PBSQueued.queue));
rep(js->pub.pbs_owner,e->PBSQueued.owner);
rep(js->pub.pbs_name,e->PBSQueued.name);