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:
b75c176
)
initialize also p_tmp_timeout
author
Jan Pospíšil
<honik@ntc.zcu.cz>
Sun, 22 Apr 2007 19:05:37 +0000
(19:05 +0000)
committer
Jan Pospíšil
<honik@ntc.zcu.cz>
Sun, 22 Apr 2007 19:05:37 +0000
(19:05 +0000)
org.glite.lb.common/src/context.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.common/src/context.c
b/org.glite.lb.common/src/context.c
index
b60f5d7
..
fa6d7e2
100644
(file)
--- a/
org.glite.lb.common/src/context.c
+++ b/
org.glite.lb.common/src/context.c
@@
-34,6
+34,9
@@
int edg_wll_InitContext(edg_wll_Context *ctx)
/* XXX */
for (i=0; i<EDG_WLL_PARAM__LAST; i++) edg_wll_SetParam(out,i,NULL);
+ out->p_tmp_timeout.tv_sec = out->p_log_timeout.tv_sec;
+ out->p_tmp_timeout.tv_usec = out->p_log_timeout.tv_usec;
+
out->connections = edg_wll_initConnections();
// out->connections->connPool = (edg_wll_ConnPool *) calloc(out->connections->poolSize, sizeof(edg_wll_ConnPool));
out->connPoolNotif = (edg_wll_ConnPool *) calloc(1, sizeof(edg_wll_ConnPool));