=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/plugin/oxcgi.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -p -r1.8 -r1.9 --- OpenXM/src/kan96xx/plugin/oxcgi.c 2005/02/27 05:28:06 1.8 +++ OpenXM/src/kan96xx/plugin/oxcgi.c 2005/06/16 05:07:24 1.9 @@ -1,4 +1,4 @@ -/* $OpenXM: OpenXM/src/kan96xx/plugin/oxcgi.c,v 1.7 2004/11/23 01:37:47 takayama Exp $ */ +/* $OpenXM: OpenXM/src/kan96xx/plugin/oxcgi.c,v 1.8 2005/02/27 05:28:06 takayama Exp $ */ #include #include "datatype.h" #include "stackm.h" @@ -28,8 +28,8 @@ struct object cgiUrlEncodingToKeyValuePair(char *s) { int vstart,vend; /* start of value, end of value */ int state; int nOfPairs; - struct object rob; - struct object ob; + struct object rob = OINIT; + struct object ob = OINIT; int k; n = strlen(s); start = -1; for (i=0; i \n

"; ob=cgiHttpToKeyValuePair(s,strlen(s)); @@ -558,7 +565,7 @@ static struct object toTokens(char *s,int *sep,int nse /* s is the input, and sep are the separators. */ /* -1 means <=' ' are separators */ int nOfTokens,n,i,done,k,start,sav; - struct object rob; + struct object rob = OINIT; char *t; rob = NullObject;