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/src/common AxisConfig.cpp
Date Wed, 09 Jun 2004 06:30:26 GMT
damitha     2004/06/08 23:30:26

  Modified:    c/src/common AxisConfig.cpp
  Log:
  
  
  Revision  Changes    Path
  1.27      +3 -3      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.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- AxisConfig.cpp	7 Jun 2004 12:09:54 -0000	1.26
  +++ AxisConfig.cpp	9 Jun 2004 06:30:26 -0000	1.27
  @@ -131,10 +131,10 @@
   
   void AxisConfig::setValue(int valuelength, g_axconfig valueindex, char* value)
   {
  -    m_pcValueArray[valueindex] =  (char*) malloc (valuelength);
  +    m_pcValueArray[valueindex] =  (char*) malloc (valuelength+1);
       strncpy (m_pcValueArray[valueindex], value, valuelength);
  -	*(m_pcValueArray[valueindex]+valuelength)
  -        = '\0';
  +	//*(m_pcValueArray[valueindex]+valuelength)
  +        //= '\0';
   }
   
   
  
  
  

Mime
View raw message