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:
6ff12bf
)
return ENOENT instead of 0 for no subjobs
author
Aleš Křenek
<ljocha@ics.muni.cz>
Tue, 20 Feb 2007 14:43:39 +0000
(14:43 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Tue, 20 Feb 2007 14:43:39 +0000
(14:43 +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
dc6cbae
..
e3dd5ca
100644
(file)
--- a/
org.glite.lb.server/src/lb_plugin.c
+++ b/
org.glite.lb.server/src/lb_plugin.c
@@
-546,7
+546,7
@@
static int lb_query(void *fpctx,void *handle, const char *attr,glite_jp_attrval_
} else {
char *et;
*attrval = NULL;
- err.code =
0
;
+ err.code =
ENOENT
;
trio_asprintf(&et,"Value unknown for attribute '%s', there are no subjobs.",attr);
err.desc = strdup(et);
free(et);