git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
790b65f
)
initialize data structures before using them
author
Miloš Mulač
<mulac@civ.zcu.cz>
Mon, 21 Apr 2008 15:28:33 +0000
(15:28 +0000)
committer
Miloš Mulač
<mulac@civ.zcu.cz>
Mon, 21 Apr 2008 15:28:33 +0000
(15:28 +0000)
org.glite.lb.server/src/lb_proto.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server/src/lb_proto.c
b/org.glite.lb.server/src/lb_proto.c
index
37732b8
..
6a222dd
100644
(file)
--- a/
org.glite.lb.server/src/lb_proto.c
+++ b/
org.glite.lb.server/src/lb_proto.c
@@
-640,6
+640,9
@@
edg_wll_ErrorCode edg_wll_Proto(edg_wll_Context ctx,
ctx->p_tmp_timeout.tv_sec = 86400;
+ memset(&request,0,sizeof(request));
+ memset(&result,0,sizeof(result));
+
if ( !parsePurgeRequest(ctx,messageBody,(int (*)()) edg_wll_StringToStat,&request) ) {
switch ( edg_wll_PurgeServer(ctx, (const edg_wll_PurgeRequest *)&request, &result)) {
case 0: if (html) ret = HTTP_NOTIMPL;