equal
deleted
inserted
replaced
190 DP("CHttpClient::Get END"); |
190 DP("CHttpClient::Get END"); |
191 } |
191 } |
192 |
192 |
193 TBool CHttpClient::GetL(const TDesC& aUrl, const TDesC& aFileName, TBool aSilent) { |
193 TBool CHttpClient::GetL(const TDesC& aUrl, const TDesC& aFileName, TBool aSilent) { |
194 DP("CHttpClient::Get START"); |
194 DP("CHttpClient::Get START"); |
195 DP2("Getting '%S' to '%S'", &aUrl, &aFileName); |
195 DP2("Getting '%S' to '%S'", &aUrl, &aFileName); |
196 __ASSERT_DEBUG((iIsActive==EFalse), Panic(EPodcatcherPanicAlreadyActive)); |
196 |
|
197 if (iIsActive) |
|
198 { |
|
199 return EFalse; |
|
200 } |
197 iCurrentURL.Copy(aUrl); |
201 iCurrentURL.Copy(aUrl); |
198 |
202 |
199 TInt urlError = iUriParser.Parse(iCurrentURL); |
203 TInt urlError = iUriParser.Parse(iCurrentURL); |
200 |
204 |
201 if(urlError != KErrNone ||!iUriParser.IsSchemeValid()) |
205 if(urlError != KErrNone ||!iUriParser.IsSchemeValid()) |