im.pidgin.pidgin: 2686355efa35ffd45699ee70fab20885424e502b

markdoliner at pidgin.im markdoliner at pidgin.im
Thu Jan 17 02:41:03 EST 2008


-----------------------------------------------------------------
Revision: 2686355efa35ffd45699ee70fab20885424e502b
Ancestor: 2de31939762c087dff10d169f0efa028dc3ca05d
Author: markdoliner at pidgin.im
Date: 2008-01-17T07:39:25
Branch: im.pidgin.pidgin

Modified files:
        libpurple/protocols/oscar/oscar.c

ChangeLog: 

rlaager suggested the possibility of documenting this.  Sure, why not?

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/oscar.c	3741f09e321af42c1be4c33211b796d5b4194f25
+++ libpurple/protocols/oscar/oscar.c	4ada101981c24b2cebd86e0287df955074e3d373
@@ -1789,6 +1789,10 @@ static int purple_parse_oncoming(OscarDa
 		purple_prpl_got_user_status_deactive(account, info->sn, OSCAR_STATUS_ID_MOBILE);
 	}
 
+	/*
+	 * It's ok for us to use == instead of strcmp() here because
+	 * status_id is set to one of these #defines a few lines above here.
+	 */
 	if (status_id == OSCAR_STATUS_ID_AVAILABLE)
 	{
 		char *message = NULL;


More information about the Commits mailing list