pidgin: 4aa3c233: keep the compiler happy:
nosnilmot at pidgin.im
nosnilmot at pidgin.im
Thu Jul 9 21:55:35 EDT 2009
-----------------------------------------------------------------
Revision: 4aa3c23366feb9344d45ac21a920c03e702fa5c3
Ancestor: e7ce67e5153d7d547ecebe9b330a5922376494c4
Author: nosnilmot at pidgin.im
Date: 2009-07-10T01:30:21
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/4aa3c23366feb9344d45ac21a920c03e702fa5c3
Modified files:
libpurple/protocols/jabber/google.c
ChangeLog:
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 '~'
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/google.c 0afc59888472d527e3c531e061479113da6fc557
+++ libpurple/protocols/jabber/google.c 3c064536ee48e0d09e1c9f1a50b69c071a2db8f2
@@ -1062,7 +1062,7 @@ void jabber_google_roster_add_deny(Purpl
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 @@ void jabber_google_roster_rem_deny(Purpl
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);
More information about the Commits
mailing list