You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by be...@apache.org on 2012/02/29 15:54:16 UTC

ios commit: Fix NSLog crash in CDVWhitelist.m - parameter order reversed

Updated Branches:
  refs/heads/master 4f9b6e7ea -> 9722970a6


Fix NSLog crash in CDVWhitelist.m - parameter order reversed


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/9722970a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/9722970a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/9722970a

Branch: refs/heads/master
Commit: 9722970a66ca2b29657031f6b08f5e7caf55acd2
Parents: 4f9b6e7
Author: Becky Gibson <be...@apache.org>
Authored: Tue Feb 28 17:10:22 2012 -0500
Committer: Becky Gibson <be...@apache.org>
Committed: Tue Feb 28 17:10:22 2012 -0500

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/9722970a/CordovaLib/Classes/CDVWhitelist.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVWhitelist.m b/CordovaLib/Classes/CDVWhitelist.m
index f740b5a..3d9d714 100644
--- a/CordovaLib/Classes/CDVWhitelist.m
+++ b/CordovaLib/Classes/CDVWhitelist.m
@@ -170,7 +170,7 @@
         }
     }
     
-    NSLog([self errorStringForURL:url], @"");
+    NSLog(@"%@",[self errorStringForURL:url]);
     // if we got here, the url host is not in the white-list, do nothing
     return NO;
 }