You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2005/08/02 11:36:12 UTC
cvs commit: ws-axis/c/samples/client/base Client.cpp
samisa 2005/08/02 02:36:12
Modified: c/samples/client/base Client.cpp
Log:
fixed compilation error
Revision Changes Path
1.9 +3 -2 ws-axis/c/samples/client/base/Client.cpp
Index: Client.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/samples/client/base/Client.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Client.cpp 15 Jul 2005 10:12:02 -0000 1.8
+++ Client.cpp 2 Aug 2005 09:36:12 -0000 1.9
@@ -37,7 +37,8 @@
int
main (int argc, char *argv[])
{
- int x;
+ int x = 0;
+ int i = 0;
char buffer1[100];
char endpoint[256];
const char *server = "localhost";
@@ -90,7 +91,7 @@
arrstr.m_Array = new char *[ARRAYSIZE];
arrstr.m_Size = ARRAYSIZE;
sprintf (buffer1, "%dth element of string array", 0);
- for (int i = 0; i < ARRAYSIZE; i++)
+ for (i = 0; i < ARRAYSIZE; i++)
{
arrstr.m_Array[i] = buffer1;
}