Forgot to close file handle on failed download. Fixed now. Also fix for SQLite static library.
--- a/application/group/Podcast.mmp Sat May 01 14:42:23 2010 +0100
+++ b/application/group/Podcast.mmp Mon May 03 15:18:30 2010 +0100
@@ -65,8 +65,7 @@
END
STATICLIBRARY PodCastEngine.lib
-//STATICLIBRARY sqlite_podcatcher.lib
-LIBRARY sqlite3.lib
+STATICLIBRARY sqlite_podcatcher.lib
LIBRARY mediaclientaudio.lib
LIBRARY inetprotutil.lib
LIBRARY xmlframework.lib
Binary file application/sis/podcatcher_udeb.sis has changed
Binary file application/sis/podcatcher_udeb_signed.sis has changed
--- a/engine/group/bld.inf Sat May 01 14:42:23 2010 +0100
+++ b/engine/group/bld.inf Mon May 03 15:18:30 2010 +0100
@@ -27,8 +27,8 @@
PRJ_EXPORTS
// export pre-build sqlite
..\sqlite\sqlite_podcatcher_winscw.lib \epoc32\release\winscw\udeb\sqlite_podcatcher.lib
-..\sqlite\sqlite_podcatcher_gcce.lib \epoc32\release\gcce\udeb\sqlite_podcatcher.lib
-..\sqlite\sqlite_podcatcher_gcce.lib \epoc32\release\gcce\urel\sqlite_podcatcher.lib
+..\sqlite\sqlite_podcatcher_gcce.lib \epoc32\release\armv5\udeb\sqlite_podcatcher.lib
+..\sqlite\sqlite_podcatcher_gcce.lib \epoc32\release\armv5\urel\sqlite_podcatcher.lib
..\config\podcatcher.sqlite \epoc32\winscw\c\private\A0009D00\podcatcher.sqlite.template
..\config\defaultfeeds.xml \epoc32\winscw\c\private\A0009D00\defaultfeeds.xml
--- a/engine/src/HttpEventHandler.cpp Sat May 01 14:42:23 2010 +0100
+++ b/engine/src/HttpEventHandler.cpp Mon May 03 15:18:30 2010 +0100
@@ -193,12 +193,14 @@
case THTTPEvent::ESucceeded:
{
DP("Transaction Successful");
+ iRespBodyFile.Close();
aTransaction.Close();
iHttpClient->ClientRequestCompleteL(KErrNone);
} break;
case THTTPEvent::EFailed:
{
DP("Transaction Failed");
+ iRespBodyFile.Close();
aTransaction.Close();
if(iLastStatusCode == HTTPStatus::EOk || iLastStatusCode == HTTPStatus::ECreated || iLastStatusCode == HTTPStatus::EAccepted)
@@ -222,6 +224,7 @@
// close off the transaction if it's an error
if (aEvent.iStatus < 0)
{
+ iRespBodyFile.Close();
aTransaction.Close();
iHttpClient->ClientRequestCompleteL(aEvent.iStatus);
}