You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by su...@apache.org on 2004/04/06 07:50:01 UTC

cvs commit: ws-axis/c/vc/samples/client/interoptests/cgroupB cgroupB.dsp

susantha    2004/04/05 22:50:01

  Modified:    c/include/axis/server Packet.h
               c/src/engine/client Call.cpp
               c/vc/samples/client/interoptests/cgroupB cgroupB.dsp
  Log:
  Fixing a bug in Call class
  
  Revision  Changes    Path
  1.8       +1 -1      ws-axis/c/include/axis/server/Packet.h
  
  Index: Packet.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/server/Packet.h,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Packet.h	26 Mar 2004 07:30:22 -0000	1.7
  +++ Packet.h	6 Apr 2004 05:50:01 -0000	1.8
  @@ -104,7 +104,7 @@
   
   typedef struct
   {
  -	const char* uri_path;
  +	char* uri_path;
   	Ax_header* ip_headers;
   	int ip_headercount;
   	Ax_header* op_headers;
  
  
  
  1.34      +2 -3      ws-axis/c/src/engine/client/Call.cpp
  
  Index: Call.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/engine/client/Call.cpp,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- Call.cpp	26 Mar 2004 07:28:08 -0000	1.33
  +++ Call.cpp	6 Apr 2004 05:50:01 -0000	1.34
  @@ -92,16 +92,15 @@
   	switch(m_Soap.trtype)
   	{
   	case APTHTTP:
  -		delete m_Soap.so.http;
  -		/* do for other protocols too */
   	case APTHTTPS:
  +		free(m_Soap.so.http->uri_path);
   		delete m_Soap.so.http;
   	}
   }
   
   int Call::SetEndpointURI(const char *pchEndpointURI)
   {
  -	m_Soap.so.http->uri_path = pchEndpointURI;
  +	m_Soap.so.http->uri_path = strdup(pchEndpointURI);
   	return AXIS_SUCCESS;
   }
   
  
  
  
  1.7       +4 -0      ws-axis/c/vc/samples/client/interoptests/cgroupB/cgroupB.dsp
  
  Index: cgroupB.dsp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/vc/samples/client/interoptests/cgroupB/cgroupB.dsp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- cgroupB.dsp	1 Apr 2004 15:10:19 -0000	1.6
  +++ cgroupB.dsp	6 Apr 2004 05:50:01 -0000	1.7
  @@ -113,6 +113,10 @@
   # PROP Default_Filter "h;hpp;hxx;hm;inl"
   # Begin Source File
   
  +SOURCE=..\..\..\..\..\samples\client\interoptests\cgroupB\InteropTestPortTypeB.h
  +# End Source File
  +# Begin Source File
  +
   SOURCE=..\..\..\..\..\samples\client\interoptests\cgroupB\SOAPArrayStruct.h
   # End Source File
   # Begin Source File