axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject cvs commit: ws-axis/c/samples/client/interoptests/doclitgroupB InteropGroupBClient.cpp
Date Wed, 28 Apr 2004 03:58:39 GMT
damitha     2004/04/27 20:58:39

  Modified:    c/samples/client/interoptests/doclitgroupB Tag:
                        Release1-1-bugfixes-branch InteropGroupBClient.cpp
  Log:
  
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.2.2.1   +5 -5      ws-axis/c/samples/client/interoptests/doclitgroupB/InteropGroupBClient.cpp
  
  Index: InteropGroupBClient.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/samples/client/interoptests/doclitgroupB/InteropGroupBClient.cpp,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  --- InteropGroupBClient.cpp	6 Apr 2004 05:37:50 -0000	1.2
  +++ InteropGroupBClient.cpp	28 Apr 2004 03:58:39 -0000	1.2.2.1
  @@ -27,12 +27,12 @@
   	SOAPArrayStruct sas;
   	sas.varFloat = 12345.67890;
   	sas.varInt = 5000;
  -	sas.varString = "varString content of SOAPArrayStruct";
  +	sas.varString = strdup("varString content of SOAPArrayStruct");
   	sas.varArray.m_Array = new AxisChar*[ARRAYSIZE];
   	sas.varArray.m_Size = ARRAYSIZE;
   	for (x=0; x<ARRAYSIZE; x++)
   	{
  -		sas.varArray.m_Array[x] = "content of string array element";
  +		sas.varArray.m_Array[x] = strdup("content of string array element");
   	}
   	printf("invoking echoNestedArray...\n");
   	if (ws.echoNestedArray(&sas) != NULL)
  @@ -44,11 +44,11 @@
   	SOAPStructStruct sss;
   	sss.varFloat = 12345.67890;
   	sss.varInt = 5000;
  -	sss.varString = "varString content of SOAPStructStruct";
  +	sss.varString = strdup("varString content of SOAPStructStruct");
   	sss.varStruct = new SOAPStruct();
   	sss.varStruct->varFloat = 67890.12345;
   	sss.varStruct->varInt = 54321;
  -	sss.varStruct->varString = "varString content of SOAPStruct";
  +	sss.varStruct->varString = strdup("varString content of SOAPStruct");
   	printf("invoking echoNestedStruct...\n");
   	if (ws.echoNestedStruct(&sss) != NULL)
   		printf("successful\n");
  @@ -67,7 +67,7 @@
   	SOAPStruct ss;
   	ss.varFloat = 12345.67890;
   	ss.varInt = 5000;
  -	ss.varString = "content of string passed";
  +	ss.varString = strdup("content of string passed");
   	char* outStr;
   	int outInt;
   	float outFloat;
  
  
  

Mime
View raw message