From: Zdeněk Salvet Date: Wed, 28 May 2008 12:40:48 +0000 (+0000) Subject: Initialize gss connections to closed (fd=-1). X-Git-Tag: glite-lb-client_R_3_2_1_1~9 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=f684dd21437117f530a6d9d2042525c60ba98624;p=jra1mw.git Initialize gss connections to closed (fd=-1). --- diff --git a/org.glite.lb.common/src/connpool.c b/org.glite.lb.common/src/connpool.c index fb84222..a9bfb6d 100644 --- a/org.glite.lb.common/src/connpool.c +++ b/org.glite.lb.common/src/connpool.c @@ -238,6 +238,7 @@ void edg_wll_poolFree() { /** Allocate memory for arrays within the edg_wll_Connections structure */ edg_wll_Connections* edg_wll_initConnections() { + int i; #ifdef EDG_WLL_CONNPOOL_DEBUG #ifdef GLITE_LB_THREADED @@ -258,6 +259,9 @@ edg_wll_Connections* edg_wll_initConnections() { connectionsHandle.connPool = (edg_wll_ConnPool *) calloc(connectionsHandle.poolSize, sizeof(edg_wll_ConnPool)); + for (i=0; i