You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2006/04/05 15:50:00 UTC
svn commit: r391613 -
/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest8Client.cpp
Author: dicka
Date: Wed Apr 5 06:49:31 2006
New Revision: 391613
URL: http://svn.apache.org/viewcvs?rev=391613&view=rev
Log:
Removing use of printf from RpcHttpHeaderTest8Client.cpp as this can result in messages becoming out of order, when used with cout.
Modified:
webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest8Client.cpp
Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest8Client.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest8Client.cpp?rev=391613&r1=391612&r2=391613&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest8Client.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest8Client.cpp Wed Apr 5 06:49:31 2006
@@ -122,16 +122,16 @@
pszPropertyValue = "(null)";
}
- printf( "First transport key = %s\n", pszPropertyKey);
- printf( "First transport value = %s\n", pszPropertyValue);
+ cout << "First transport key = " << pszPropertyKey << endl;
+ cout << "First transport value = " << pszPropertyValue << endl;
const char *key = NULL;
int count = 1;
while (key = ws.getNextTransportPropertyKey())
{
- printf("Next transport key = %s\n", key);
- printf("Next transport value = %s\n",
- ws.getCurrentTransportPropertyValue());
+ cout << "Next transport key = " << key << endl;
+ cout << "Next transport value = " <<
+ ws.getCurrentTransportPropertyValue() << endl;
count++;
}