incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject ios commit: Re-fix CB-475
Date Tue, 10 Apr 2012 20:41:22 GMT
Updated Branches:
  refs/heads/master 8e528b947 -> 546bbaf16


Re-fix CB-475


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/546bbaf1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/546bbaf1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/546bbaf1

Branch: refs/heads/master
Commit: 546bbaf162b78c5bc798c7aa1585618805890ce7
Parents: 8e528b9
Author: Shazron Abdullah <shazron@apache.org>
Authored: Tue Apr 10 13:40:40 2012 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Tue Apr 10 13:40:40 2012 -0700

----------------------------------------------------------------------
 CordovaLib/Classes/CDVFileTransfer.m |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/546bbaf1/CordovaLib/Classes/CDVFileTransfer.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVFileTransfer.m b/CordovaLib/Classes/CDVFileTransfer.m
index 5b7ff42..1bc6137 100644
--- a/CordovaLib/Classes/CDVFileTransfer.m
+++ b/CordovaLib/Classes/CDVFileTransfer.m
@@ -266,6 +266,7 @@
                 if ( downloadResponse == NO ) {
                     // send our results back
                     result = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsDictionary:
[command createFileTransferError:[NSString stringWithFormat:@"%d", INVALID_URL_ERR] AndSource:source
AndTarget:target]];
+                    errored = YES;
                 } else {
                     DLog(@"File Transfer Download success");
                     


Mime
View raw message