ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject svn commit: r391613 - /webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest8Client.cpp
Date Wed, 05 Apr 2006 13:50:00 GMT
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++;
     }
 



Mime
View raw message