adium 3361:5645531296db: removed uneccessary stringWithFormat: c...

commits at adium.im commits at adium.im
Thu Oct 14 18:01:50 UTC 2010


details:	http://hg.adium.im/adium/rev/5645531296db
revision:	3361:5645531296db
author:		Martin Haecker <spamfaenger at gmx.de>
date:		Thu Oct 14 18:47:19 2010 +0200

removed uneccessary stringWithFormat: call in AILog

diffs (12 lines):

diff -r 03be6b1e8cbc -r 5645531296db Source/AdiumOTREncryption.m
--- a/Source/AdiumOTREncryption.m	Thu Oct 14 18:45:03 2010 +0200
+++ b/Source/AdiumOTREncryption.m	Thu Oct 14 18:47:19 2010 +0200
@@ -627,7 +627,7 @@
 /* Log a message.  The passed message will end in "\n". */
 static void log_message_cb(void *opdata, const char *message)
 {
-    AILog(@"%@", [NSString stringWithFormat:@"otr: %s", (message ? message : "(null)")]);
+    AILog(@"otr: %s", (message ? message : "(null)"));
 }
 
 /*!




More information about the commits mailing list