Fix for bug 2488: RHTTPResponse::StatusText returns KNullDesc for 404 for FeedBurner, but this text was only used in debug output.
authorteknolog
Sat, 24 Apr 2010 20:10:46 +0100
changeset 86 a2933afe16a7
parent 85 b03018fb3418
child 87 31d05afa1a52
Fix for bug 2488: RHTTPResponse::StatusText returns KNullDesc for 404 for FeedBurner, but this text was only used in debug output.
engine/src/HttpEventHandler.cpp
--- a/engine/src/HttpEventHandler.cpp	Sat Apr 24 18:58:55 2010 +0100
+++ b/engine/src/HttpEventHandler.cpp	Sat Apr 24 20:10:46 2010 +0100
@@ -66,10 +66,7 @@
 			// going to be a response body to save.
 			RHTTPResponse resp = aTransaction.Response();
 			iLastStatusCode = resp.StatusCode();
-			RStringF statusStr = resp.StatusText();
-			TBuf<32> statusStr16;
-			statusStr16.Copy(statusStr.DesC());
-			DP2("Status: %d (%S)", iLastStatusCode, &statusStr16);
+			DP1("Status: %d", iLastStatusCode);
 
 			// Dump the headers if we're being verbose
 			//DumpRespHeadersL(aTransaction);