Revision: 27644
          http://sourceforge.net/p/bibdesk/svn/27644
Author:   hofman
Date:     2022-06-17 22:46:26 +0000 (Fri, 17 Jun 2022)
Log Message:
-----------
make sure nil data is returned when failed

Modified Paths:
--------------
    trunk/bibdesk/BDSKAsynchronousWebParser.m

Modified: trunk/bibdesk/BDSKAsynchronousWebParser.m
===================================================================
--- trunk/bibdesk/BDSKAsynchronousWebParser.m   2022-06-17 22:44:58 UTC (rev 
27643)
+++ trunk/bibdesk/BDSKAsynchronousWebParser.m   2022-06-17 22:46:26 UTC (rev 
27644)
@@ -204,7 +204,7 @@
 }
 
 - (NSData *)data {
-    return [download data];
+    return error == nil ? [download data] : nil;
 }
 
 - (NSString *)string {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to