--- 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("<unrecognised event: %d>", 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;
}