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:
189d56e
)
Compatibility with pre-LBS seq. codes.
author
Zdeněk Salvet
<salvet@ics.muni.cz>
Mon, 11 Jun 2007 11:22:59 +0000
(11:22 +0000)
committer
Zdeněk Salvet
<salvet@ics.muni.cz>
Mon, 11 Jun 2007 11:22:59 +0000
(11:22 +0000)
org.glite.lb.common/src/context.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.common/src/context.c
b/org.glite.lb.common/src/context.c
index
8be7d2c
..
14f4774
100644
(file)
--- a/
org.glite.lb.common/src/context.c
+++ b/
org.glite.lb.common/src/context.c
@@
-378,7
+378,10
@@
int edg_wll_SetSequenceCode(edg_wll_Context ctx,
&c[EDG_WLL_SOURCE_LB_SERVER]);
assert(EDG_WLL_SOURCE__LAST == 10);
- if (res != EDG_WLL_SOURCE__LAST-1)
+ if (res == EDG_WLL_SOURCE_LB_SERVER-1) {
+ /* pre-collections compatibility */
+ c[EDG_WLL_SOURCE_LB_SERVER] = 0;
+ } else if (res != EDG_WLL_SOURCE__LAST-1)
return edg_wll_SetError(ctx, EINVAL,
"edg_wll_SetSequenceCode(): syntax error in sequence code");