axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject cvs commit: ws-axis/c/src/transport/axis2 AxisTransportException.cpp Channel.cpp
Date Thu, 07 Oct 2004 12:39:34 GMT
samisa      2004/10/07 05:39:34

  Modified:    c/src/transport/axis2 AxisTransportException.cpp Channel.cpp
  Log:
  Fixed memory management problem in exception class.
  Added int logic for timeout in channel.
  
  Revision  Changes    Path
  1.2       +1 -2      ws-axis/c/src/transport/axis2/AxisTransportException.cpp
  
  Index: AxisTransportException.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis2/AxisTransportException.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AxisTransportException.cpp	21 Sep 2004 03:52:24 -0000	1.1
  +++ AxisTransportException.cpp	7 Oct 2004 12:39:34 -0000	1.2
  @@ -81,9 +81,8 @@
   {
       AxisString sMessage = pcMessage;
       m_sMessage = getMessage(iExceptionCode) + " " + sMessage;
  -    if(pcMessage)
  -        delete pcMessage;
   }
  +
   const string& AxisTransportException::getMessage (const exception* objException)
   {
   	static string objExDetail = objException->what();
  
  
  
  1.3       +1 -1      ws-axis/c/src/transport/axis2/Channel.cpp
  
  Index: Channel.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis2/Channel.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Channel.cpp	5 Oct 2004 08:16:51 -0000	1.2
  +++ Channel.cpp	7 Oct 2004 12:39:34 -0000	1.3
  @@ -31,7 +31,7 @@
    * 
    */
   
  -Channel::Channel ():m_Sock (INVALID_SOCKET)
  +Channel::Channel ():m_Sock (INVALID_SOCKET), m_lTimeoutSeconds(0)
   {
   
   }
  
  
  

Mime
View raw message