engine/src/OpmlParser.cpp
changeset 20 c92d8384952c
parent 7 a7a43293ae56
child 35 66c5303f3610
child 60 4d230e702aa3
--- 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;