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:
3638d07
)
close conn on failre
author
Jan Pospíšil
<honik@ntc.zcu.cz>
Thu, 14 Jun 2007 14:05:30 +0000
(14:05 +0000)
committer
Jan Pospíšil
<honik@ntc.zcu.cz>
Thu, 14 Jun 2007 14:05:30 +0000
(14:05 +0000)
org.glite.lb.client/src/producer.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.client/src/producer.c
b/org.glite.lb.client/src/producer.c
index
5be5dc5
..
0032513
100644
(file)
--- a/
org.glite.lb.client/src/producer.c
+++ b/
org.glite.lb.client/src/producer.c
@@
-99,7
+99,6
@@
int edg_wll_DoLogEvent(
goto edg_wll_DoLogEvent_end;
}
- /* why? sleep(3); */
/* send message */
if ((ret = edg_wll_log_write(ctx,conn,logline)) == -1) {
edg_wll_UpdateError(ctx,EDG_WLL_IL_PROTO,"edg_wll_DoLogEvent(): edg_wll_log_write error");
@@
-114,7
+113,7
@@
int edg_wll_DoLogEvent(
}
edg_wll_DoLogEvent_end:
-
// XXX: no close if using connpool: edg_wll_log_close(ctx,&
conn);
+
if (ret) edg_wll_log_close(ctx,
conn);
return handle_errors(ctx,answer,"edg_wll_DoLogEvent()");
}