axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r630087 - /webservices/axis/trunk/c/src/wsdd/WSDDDocument.cpp
Date Fri, 22 Feb 2008 04:01:18 GMT
Author: nadiramra
Date: Thu Feb 21 20:01:14 2008
New Revision: 630087

URL: http://svn.apache.org/viewvc?rev=630087&view=rev
Log:
AXISCPP-1046 Error occurs when deploy web services using AdminClient and AdminService

Modified:
    webservices/axis/trunk/c/src/wsdd/WSDDDocument.cpp

Modified: webservices/axis/trunk/c/src/wsdd/WSDDDocument.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/wsdd/WSDDDocument.cpp?rev=630087&r1=630086&r2=630087&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/wsdd/WSDDDocument.cpp (original)
+++ webservices/axis/trunk/c/src/wsdd/WSDDDocument.cpp Thu Feb 21 20:01:14 2008
@@ -118,12 +118,17 @@
         
     int nBufLen = strlen(m_pcWSDDMemBuffer);
     if (0 == nBufLen) 
+    {
+    	pcBuffer[0]=0; /* put null */
+    	*piRetSize = 0;
         return TRANSPORT_FINISHED;
+    }
         
     nBufLen = ((*piRetSize - 1) < nBufLen) ? (*piRetSize - 1) : nBufLen;
     strncpy(pcBuffer, m_pcWSDDMemBuffer, nBufLen);
     pcBuffer[nBufLen] = 0;
     m_pcWSDDMemBuffer+=nBufLen;
+    *piRetSize = nBufLen;
     return TRANSPORT_IN_PROGRESS;
 }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message