incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject ios commit: Fixes CB-1025 - Failure to save contact results in a crash when printing the error
Date Tue, 10 Jul 2012 23:39:00 GMT
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 <shazron@apache.org>
Authored: Tue Jul 10 16:38:59 2012 -0700
Committer: Shazron Abdullah <shazron@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;
 }


Mime
View raw message