From 32d96bf55b1d09bd94c283cde91eafd575ba0c6b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Milo=C5=A1=20Mula=C4=8D?= Date: Wed, 29 Jun 2005 12:32:38 +0000 Subject: [PATCH] correct structure initialization (a new field reason added??) --- org.glite.lb.server/src/ws_fault.c | 1 + 1 file changed, 1 insertion(+) diff --git a/org.glite.lb.server/src/ws_fault.c b/org.glite.lb.server/src/ws_fault.c index d2a10fc..e36fa56 100644 --- a/org.glite.lb.server/src/ws_fault.c +++ b/org.glite.lb.server/src/ws_fault.c @@ -15,6 +15,7 @@ void edg_wll_ErrToFault(const edg_wll_Context ctx,struct soap *soap) f->lbe__genericFault = soap_malloc(soap,sizeof *f->lbe__genericFault); + memset(f->lbe__genericFault, 0, sizeof(*f->lbe__genericFault)); f->lbe__genericFault->code = edg_wll_Error(ctx,&et,&ed); f->lbe__genericFault->text = soap_malloc(soap,strlen(et)+1); -- 1.8.2.3