adium 2137:9f1bcf6e0158: NULL? I'm crazy!

commits at adium.im commits at adium.im
Mon May 11 01:51:29 UTC 2009


details:	http://hg.adium.im/adium/rev/9f1bcf6e0158
revision:	2137:9f1bcf6e0158
author:		Zachary West <zacw at adium.im>
date:		Sun May 10 21:51:15 2009 -0400

NULL? I'm crazy!

diffstat:

 Frameworks/Adium Framework/Source/AIListBookmark.m |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 7b3b9d292693 -r 9f1bcf6e0158 Frameworks/Adium Framework/Source/AIListBookmark.m
--- a/Frameworks/Adium Framework/Source/AIListBookmark.m	Sun May 10 21:48:28 2009 -0400
+++ b/Frameworks/Adium Framework/Source/AIListBookmark.m	Sun May 10 21:51:15 2009 -0400
@@ -161,7 +161,7 @@
 - (NSString *)internalObjectID
 {
 	if (!internalObjectID) {
-		NSAssert(self.account != NULL, @"Null list bookmark account - make sure you didn't try to touch the internalObjectID before it was loaded.");
+		NSAssert(self.account != nil, @"Null list bookmark account - make sure you didn't try to touch the internalObjectID before it was loaded.");
 		
 		// We're not like any other bookmarks by the same name.
 		internalObjectID = [[NSString stringWithFormat:@"%@.%@.%@", self.service.serviceID, self.UID, self.account.UID] retain];




More information about the commits mailing list