You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by na...@apache.org on 2006/07/28 05:13:11 UTC

svn commit: r426368 - in /webservices/axis/trunk/c/src/transport/axis3: HTTPChannel/HTTPChannel.cpp HTTPSSLChannel/HTTPSSLChannel.cpp

Author: nadiramra
Date: Thu Jul 27 20:13:11 2006
New Revision: 426368

URL: http://svn.apache.org/viewvc?rev=426368&view=rev
Log:
AXISCPP-949 - Client call on a great port number (endpoint URL) fails

Modified:
    webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.cpp
    webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.cpp

Modified: webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.cpp?rev=426368&r1=426367&r2=426368&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.cpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/HTTPChannel/HTTPChannel.cpp Thu Jul 27 20:13:11 2006
@@ -445,7 +445,7 @@
         pszHost = m_strProxyHost.c_str();
     }
  
-    sprintf( szPort, "%hd", uiPort);
+    sprintf( szPort, "%u", uiPort);
 
     if( getaddrinfo( pszHost, szPort, &aiHints, &paiAddrInfo0))
     {

Modified: webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.cpp?rev=426368&r1=426367&r2=426368&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.cpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannel.cpp Thu Jul 27 20:13:11 2006
@@ -398,7 +398,7 @@
         pszHost = m_strProxyHost.c_str();
     }
  
-    sprintf( szPort, "%hd", uiPort);
+    sprintf( szPort, "%u", uiPort);
 
     if( getaddrinfo( pszHost, szPort, &aiHints, &paiAddrInfo0))
     {



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