From 71cdba6f57b4bd9d508e0231edc65ffea75ddfe0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ji=C5=99=C3=AD=20=C5=A0kr=C3=A1bal?= Date: Thu, 9 Dec 2004 13:05:10 +0000 Subject: [PATCH] - initializing of edg_wll_PlainConnection variable attributes is really needed! --- org.glite.lb.client/src/producer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/org.glite.lb.client/src/producer.c b/org.glite.lb.client/src/producer.c index b0b8737..b459910 100644 --- a/org.glite.lb.client/src/producer.c +++ b/org.glite.lb.client/src/producer.c @@ -181,6 +181,7 @@ static int edg_wll_DoLogEventProxy( fprintf(stderr,"Logging to L&B Proxy at socket %s\n", context->p_lbproxy_store_sock? context->p_lbproxy_store_sock: socket_path); #endif + memset(&conn, 0, sizeof(conn)); conn.sock = socket(PF_UNIX, SOCK_STREAM, 0); if (conn.sock < 0) { edg_wll_SetError(context,answer = errno,"socket() error"); -- 1.8.2.3