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:
ccdd0d0
)
pass eventual "desc jobs" error up
author
Aleš Křenek
<ljocha@ics.muni.cz>
Wed, 17 Dec 2008 17:43:41 +0000
(17:43 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Wed, 17 Dec 2008 17:43:41 +0000
(17:43 +0000)
org.glite.lb.server/src/openserver.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server/src/openserver.c
b/org.glite.lb.server/src/openserver.c
index
5a76b6a
..
40e2e08
100644
(file)
--- a/
org.glite.lb.server/src/openserver.c
+++ b/
org.glite.lb.server/src/openserver.c
@@
-27,7
+27,7
@@
edg_wll_ErrorCode edg_wll_Open(edg_wll_Context ctx, char *cs)
hit = 0;
// new columns added to jobs
- if (
glite_lbu_ExecSQL(ctx->dbctx, "DESC jobs", &stmt
) <= 0) goto err;
+ if (
(ret = glite_lbu_ExecSQL(ctx->dbctx, "DESC jobs", &stmt)
) <= 0) goto err;
while (hit < 4 && (ret = glite_lbu_FetchRow(stmt, 1, NULL, cols)) > 0) {
assert(ret <= (int)(sizeof cols/sizeof cols[0]));
if (strcasecmp(cols[0], "proxy") == 0 ||