changeset 27442:739f57076303

keep the compiler happy: google.c: In function ¡Æjabber_google_roster_add_deny¡Ç: google.c:1065: warning: suggest parentheses around operand of ¡Æ!¡Ç or change ¡Æ&¡Ç to ¡Æ&&¡Ç or ¡Æ!¡Ç to ¡Æ~¡Ç google.c: In function ¡Æjabber_google_roster_rem_deny¡Ç: google.c:1135: warning: suggest parentheses around operand of ¡Æ!¡Ç or change ¡Æ&¡Ç to ¡Æ&&¡Ç or ¡Æ!¡Ç to ¡Æ~¡Ç
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 10 Jul 2009 01:30:21 +0000
parents b00f138c850a
children 8983eefa62c5
files libpurple/protocols/jabber/google.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/google.c	Thu Jul 09 17:57:44 2009 +0000
+++ b/libpurple/protocols/jabber/google.c	Fri Jul 10 01:30:21 2009 +0000
@@ -1062,7 +1062,7 @@
 
 	js = (JabberStream*)(gc->proto_data);
 
-	if (!js || !js->server_caps & JABBER_CAP_GOOGLE_ROSTER)
+	if (!js || !(js->server_caps & JABBER_CAP_GOOGLE_ROSTER))
 		return;
 
 	jb = jabber_buddy_find(js, who, TRUE);
@@ -1132,7 +1132,7 @@
 
 	js = (JabberStream*)(gc->proto_data);
 
-	if (!js || !js->server_caps & JABBER_CAP_GOOGLE_ROSTER)
+	if (!js || !(js->server_caps & JABBER_CAP_GOOGLE_ROSTER))
 		return;
 
 	buddies = purple_find_buddies(purple_connection_get_account(js->gc), who);