axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ros...@apache.org
Subject cvs commit: ws-axis/c/src/common AxisConfig.cpp
Date Tue, 01 Jun 2004 03:06:43 GMT
roshan      2004/05/31 20:06:43

  Modified:    c/src/common AxisConfig.cpp
  Log:
  Added code to initialize the m_pcValueArray, this was done to avoid a runtime crash
  
  Revision  Changes    Path
  1.23      +5 -0      ws-axis/c/src/common/AxisConfig.cpp
  
  Index: AxisConfig.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/common/AxisConfig.cpp,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- AxisConfig.cpp	24 May 2004 05:44:20 -0000	1.22
  +++ AxisConfig.cpp	1 Jun 2004 03:06:43 -0000	1.23
  @@ -42,6 +42,11 @@
   	m_pcKeyArray[AXCONF_TRANSPORTHTTP]="AXISTRANSPORT_HTTP";
   	m_pcKeyArray[AXCONF_TRANSPORTSMTP]="AXISTRANSPORT_SMTP";
   	m_pcKeyArray[AXCONF_XMLPARSER] = "AXISXMLPARSER";
  +
  +	for(int i=0;i<NOOFPROPERTIES;i++)
  +	{
  +        m_pcValueArray[i] = '\0';
  +	}
   }
   
   AxisConfig::~AxisConfig ()
  
  
  

Mime
View raw message