Revision: 11508
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=11508&view=rev
Author: amaxwell
Date: 2007-11-09 11:21:52 -0800 (Fri, 09 Nov 2007)
Log Message:
-----------
Return nil for an error.
Modified Paths:
--------------
trunk/bibdesk/BDSKGoogleScholarParser.m
Modified: trunk/bibdesk/BDSKGoogleScholarParser.m
===================================================================
--- trunk/bibdesk/BDSKGoogleScholarParser.m 2007-11-09 19:21:43 UTC (rev
11507)
+++ trunk/bibdesk/BDSKGoogleScholarParser.m 2007-11-09 19:21:52 UTC (rev
11508)
@@ -139,8 +139,12 @@
}
- if (0 == [items count] && outError)
- *outError = error;
+ if (0 == [items count]) {
+ // signal an error condition
+ items = nil;
+ if (outError)
+ *outError = error;
+ }
return items;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit