changeset 22128:c7da54111ea0

It's ok for us to use == here because status_id is set to one of these #defines a few lines above
author Mark Doliner <mark@kingant.net>
date Wed, 16 Jan 2008 07:40:12 +0000
parents 91a4506b5808
children dd51079b3d8c
files libpurple/protocols/oscar/oscar.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Wed Jan 16 07:37:39 2008 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Wed Jan 16 07:40:12 2008 +0000
@@ -1795,7 +1795,7 @@
 		purple_prpl_got_user_status_deactive(account, info->sn, OSCAR_STATUS_ID_MOBILE);
 	}
 
-	if (!strcmp(status_id, OSCAR_STATUS_ID_AVAILABLE))
+	if (status_id == OSCAR_STATUS_ID_AVAILABLE)
 	{
 		char *message = NULL;