initialise connToUse to -1
authorAleš Křenek <ljocha@ics.muni.cz>
Thu, 7 Jul 2005 11:43:14 +0000 (11:43 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Thu, 7 Jul 2005 11:43:14 +0000 (11:43 +0000)
org.glite.lb.common/src/context.c

index 33cb50c..f42a740 100644 (file)
@@ -34,6 +34,7 @@ int edg_wll_InitContext(edg_wll_Context *ctx)
        out->connPoolNotif = (edg_wll_ConnPool *) calloc(1, sizeof(edg_wll_ConnPool));
        out->connProxy = (edg_wll_ConnPool *) calloc(1, sizeof(edg_wll_ConnProxy));
        out->connProxy->conn.sock = -1;
+       out->connToUse = -1;
 
        *ctx = out;
        return 0;