equal
deleted
inserted
replaced
112 { |
112 { |
113 if (iContinue) { |
113 if (iContinue) { |
114 TInt err = iRespBodyFile.Open(iFileServ, iParsedFileName.FullName(),EFileWrite); |
114 TInt err = iRespBodyFile.Open(iFileServ, iParsedFileName.FullName(),EFileWrite); |
115 if (err) |
115 if (err) |
116 { |
116 { |
117 DP2("There was an error opening file '%S', err=%d", &iParsedFileName.FullName(), err); |
117 DP2("There was an error=%d opening file '%S'", err, &iParsedFileName.FullName()); |
118 iSavingResponseBody = EFalse; |
118 iSavingResponseBody = EFalse; |
119 iHttpClient->ClientRequestCompleteL(KErrInUse); |
119 iHttpClient->ClientRequestCompleteL(KErrInUse); |
120 User::Leave(err); |
120 User::Leave(err); |
121 } |
121 } |
122 else |
122 else |
240 return KErrNone; |
240 return KErrNone; |
241 } |
241 } |
242 |
242 |
243 void CHttpEventHandler::SetSaveFileName(const TDesC &fName, TBool aContinue) |
243 void CHttpEventHandler::SetSaveFileName(const TDesC &fName, TBool aContinue) |
244 { |
244 { |
|
245 DP1("CHttpEventHandler::SetSaveFileName, aContinue=%d", aContinue); |
245 iFileName.Copy(fName); |
246 iFileName.Copy(fName); |
246 iContinue = aContinue; |
247 iContinue = aContinue; |
247 } |
248 } |
248 |
249 |
249 void CHttpEventHandler::DumpRespHeadersL(RHTTPTransaction& aTrans) |
250 void CHttpEventHandler::DumpRespHeadersL(RHTTPTransaction& aTrans) |