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:
334e60a
)
Pass seq. code properly in SetLoggingJob.
author
Zdeněk Salvet
<salvet@ics.muni.cz>
Tue, 16 Mar 2010 15:11:17 +0000
(15:11 +0000)
committer
Zdeněk Salvet
<salvet@ics.muni.cz>
Tue, 16 Mar 2010 15:11:17 +0000
(15:11 +0000)
org.glite.lb.client/src/producer.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.client/src/producer.c
b/org.glite.lb.client/src/producer.c
index
a2da0e2
..
a533eb0
100644
(file)
--- a/
org.glite.lb.client/src/producer.c
+++ b/
org.glite.lb.client/src/producer.c
@@
-730,12
+730,10
@@
static int edg_wll_SetLoggingJobMaster(
if (!code) {
if (edg_wll_QuerySequenceCodeProxy(ctx, job, &code_loc))
goto edg_wll_setloggingjobmaster_end;
- } else {
- code_loc = strdup(code);
}
}
- if (!edg_wll_SetSequenceCode(ctx,
code_loc,
seq_code_flags)) {
+ if (!edg_wll_SetSequenceCode(ctx,
code ? code : code_loc,
seq_code_flags)) {
edg_wll_IncSequenceCode(ctx);
}