diff src/protocols/oscar/oscar.c @ 3279:86fdd015f40e

[gaim-migrate @ 3297] Fewer compile warnings! Thanks, Ari Pollak (I even spelled your name correctly) Also, I think one of these warnings may have fixed a sporadic Hotmail auth failure; let me know if you still get those. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 29 May 2002 01:23:38 +0000
parents 6231e0f0ee9e
children 76a0e566d834
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Wed May 29 00:24:41 2002 +0000
+++ b/src/protocols/oscar/oscar.c	Wed May 29 01:23:38 2002 +0000
@@ -2503,7 +2503,7 @@
 	 * parse-icq-status-message function knows if it is putting it's message in 
 	 * an info window because the name will _not_ be in od->evilhack.  For getting 
 	 * only the away message the contact's UIN is put in od->evilhack. */
-	if (budlight = find_buddy(gc, who)) {
+	if ((budlight = find_buddy(gc, who))) {
 		if ((budlight->uc >> 7) & (AIM_ICQ_STATE_AWAY || AIM_ICQ_STATE_DND || AIM_ICQ_STATE_OUT || AIM_ICQ_STATE_BUSY || AIM_ICQ_STATE_CHAT)) {
 			if (budlight->caps & AIM_CAPS_ICQSERVERRELAY)
 				g_show_info_text(gc, who, 0, buf, NULL);