changeset 22139:8d01e41786ce

rlaager suggested the possibility of documenting this. Sure, why not?
author Mark Doliner <mark@kingant.net>
date Thu, 17 Jan 2008 07:39:25 +0000
parents 8515997d66e9
children c69f472ff683
files libpurple/protocols/oscar/oscar.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Thu Jan 17 07:36:55 2008 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Thu Jan 17 07:39:25 2008 +0000
@@ -1789,6 +1789,10 @@
 		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;