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:
43466fe
)
Don't crash on non-DAG here (for av==NULL required non-zero error code).
author
František Dvořák
<valtri@civ.zcu.cz>
Tue, 20 Feb 2007 10:30:22 +0000
(10:30 +0000)
committer
František Dvořák
<valtri@civ.zcu.cz>
Tue, 20 Feb 2007 10:30:22 +0000
(10:30 +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
5cf509f
..
162dfa7
100644
(file)
--- a/
org.glite.lb.server/src/lb_plugin.c
+++ b/
org.glite.lb.server/src/lb_plugin.c
@@
-570,7
+570,7
@@
static int lb_query(void *fpctx,void *handle,const char *attr,glite_jp_attrval_t
} else {
char et[BUFSIZ];
*attrval = NULL;
- err.code =
0
;
+ err.code =
ENOENT
;
snprintf(et,sizeof et,"Value unknown for attribute '%s', there are no subjobs.",attr);
et[BUFSIZ-1] = 0;
err.desc = et;