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:
ef7431b
)
Display error message if it is possible
author
Miloš Mulač
<mulac@civ.zcu.cz>
Thu, 15 May 2008 07:43:30 +0000
(07:43 +0000)
committer
Miloš Mulač
<mulac@civ.zcu.cz>
Thu, 15 May 2008 07:43:30 +0000
(07:43 +0000)
org.glite.lb.utils/src/dump_exporter.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.utils/src/dump_exporter.c
b/org.glite.lb.utils/src/dump_exporter.c
index
428ad59
..
9024a1c
100644
(file)
--- a/
org.glite.lb.utils/src/dump_exporter.c
+++ b/
org.glite.lb.utils/src/dump_exporter.c
@@
-219,6
+219,15
@@
int main(int argc, char **argv)
}
cleanup_lbl:
+ if (ret) {
+ char *et, *ed;
+
+ if (edg_wll_Error(ctx,&et,&ed)) {
+ fprintf(stderr,"\nError during dump processing! Terminating.\n%s: %s\n",et,ed);
+ free(et);
+ free(ed);
+ }
+ }
edg_wll_FreeContext(ctx);
if ( ev ) edg_wll_FreeEvent(ev);
for ( st = dstorage; st && st->job; st++ ) if ( st->fhnd > 0 ) close(st->fhnd);