diff -r ce4f70a6d1d2 -r 000f9fc147b2 engine/src/HttpEventHandler.cpp --- a/engine/src/HttpEventHandler.cpp Tue Jul 06 03:44:46 2010 +0530 +++ b/engine/src/HttpEventHandler.cpp Wed Jul 07 14:19:21 2010 +0100 @@ -114,7 +114,7 @@ TInt err = iRespBodyFile.Open(iFileServ, iParsedFileName.FullName(),EFileWrite); if (err) { - DP2("There was an error opening file '%S', err=%d", &iParsedFileName.FullName(), err); + DP2("There was an error=%d opening file '%S'", err, &iParsedFileName.FullName()); iSavingResponseBody = EFalse; iHttpClient->ClientRequestCompleteL(KErrInUse); User::Leave(err); @@ -222,7 +222,7 @@ { DP1("", aEvent.iStatus); // close off the transaction if it's an error - if (aEvent.iStatus < 100) + if (aEvent.iStatus < 0) { iRespBodyFile.Close(); aTransaction.Close(); @@ -242,6 +242,7 @@ void CHttpEventHandler::SetSaveFileName(const TDesC &fName, TBool aContinue) { + DP1("CHttpEventHandler::SetSaveFileName, aContinue=%d", aContinue); iFileName.Copy(fName); iContinue = aContinue; }