correct structure initialization (a new field reason added??)
authorMiloš Mulač <mulac@civ.zcu.cz>
Wed, 29 Jun 2005 12:32:38 +0000 (12:32 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Wed, 29 Jun 2005 12:32:38 +0000 (12:32 +0000)
org.glite.lb.server/src/ws_fault.c

index d2a10fc..e36fa56 100644 (file)
@@ -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);