You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2012/07/11 01:39:00 UTC

ios commit: Fixes CB-1025 - Failure to save contact results in a crash when printing the error

Updated Branches:
  refs/heads/master 4de303857 -> 27b676d3d


Fixes CB-1025 - Failure to save contact results in a crash when printing the error


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

Branch: refs/heads/master
Commit: 27b676d3d06a88693be58534b13f65cd89128c42
Parents: 4de3038
Author: Shazron Abdullah <sh...@apache.org>
Authored: Tue Jul 10 16:38:59 2012 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Tue Jul 10 16:38:59 2012 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/27b676d3/CordovaLib/Classes/CDVContact.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVContact.m b/CordovaLib/Classes/CDVContact.m
index 51297ca..9d63aee 100644
--- a/CordovaLib/Classes/CDVContact.m
+++ b/CordovaLib/Classes/CDVContact.m
@@ -472,7 +472,7 @@ static NSDictionary*	org_apache_cordova_contacts_defaultFields = nil;
 	CFErrorRef error;
 	bool bSuccess = ABRecordSetValue(person, prop,  value, &error);
 	if (!bSuccess) {
-		NSLog(@"Error setting value for property: %@", prop);
+		NSLog(@"Error setting value for property: %d", prop);
 	}
 	return bSuccess;
 }