# HG changeset patch
# User teknolog
# Date 1267288896 0
# Node ID c92d8384952c5f08d2356cb8e4918b3d4586714d
# Parent  9219912415dc788bad6af155518c75043d3ac3bb
Fix so only actually added feeds are counted during import

diff -r 9219912415dc -r c92d8384952c application/sis/podcatcher_udeb.sis
Binary file application/sis/podcatcher_udeb.sis has changed
diff -r 9219912415dc -r c92d8384952c application/sis/podcatcher_udeb_signed.sis
Binary file application/sis/podcatcher_udeb_signed.sis has changed
diff -r 9219912415dc -r c92d8384952c application/sis/podcatcher_urel.sis
Binary file application/sis/podcatcher_urel.sis has changed
diff -r 9219912415dc -r c92d8384952c application/sis/podcatcher_urel_signed.sis
Binary file application/sis/podcatcher_urel_signed.sis has changed
diff -r 9219912415dc -r c92d8384952c engine/src/OpmlParser.cpp
--- a/engine/src/OpmlParser.cpp	Sat Feb 27 15:59:19 2010 +0000
+++ b/engine/src/OpmlParser.cpp	Sat Feb 27 16:41:36 2010 +0000
@@ -152,9 +152,11 @@
 				iFeedEngine.AddSearchResultL(newFeed);
 				CleanupStack::Pop(newFeed);
 			} else {
-				iFeedEngine.AddFeedL(*newFeed);
+				if(iFeedEngine.AddFeedL(*newFeed))
+					{
+					iNumFeedsAdded++;
+					}
 				CleanupStack::PopAndDestroy(newFeed);
-				iNumFeedsAdded++;
 			}
 		}
 		break;