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:
cccefdc
)
Return errors given by server, not only local errors.
author
Zdeněk Šustr
<sustr4@cesnet.cz>
Fri, 20 Jan 2012 12:31:14 +0000
(12:31 +0000)
committer
Zdeněk Šustr
<sustr4@cesnet.cz>
Fri, 20 Jan 2012 12:31:14 +0000
(12:31 +0000)
org.glite.lb.client/src/notify.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.client/src/notify.c
b/org.glite.lb.client/src/notify.c
index
cf35d5b
..
9b89148
100644
(file)
--- a/
org.glite.lb.client/src/notify.c
+++ b/
org.glite.lb.client/src/notify.c
@@
-553,13
+553,14
@@
cleanup:
*/
free(conditions);
}
-
- if (edg_wll_Error(ctx,&errt,&errd))
+
+ int retval;
+ if (retval = edg_wll_Error(ctx,&errt,&errd))
fprintf(stderr, "%s: %s (%s)\n", me, errt, errd);
edg_wll_NotifCloseFd(ctx);
edg_wll_FreeContext(ctx);
edg_wll_poolFree();
- return
0
;
+ return
retval
;
}