[Pidgin] #7974: jabber_set_buddy_icon braces wrong

Pidgin trac at pidgin.im
Sat Jan 3 11:32:29 EST 2009


#7974: jabber_set_buddy_icon braces wrong
------------------------+---------------------------------------------------
 Reporter:  darkrain42  |     Owner:  deryni
     Type:  patch       |    Status:  new   
Component:  XMPP        |   Version:  2.5.3 
 Keywords:              |  
------------------------+---------------------------------------------------
 The else statements in `jabber_set_buddy_icon` are backwards. If the user
 tries to unset the buddy icon, it throws a "received non-png data" error,
 but if the prpl is passed non-png data, it unsets the avatar.

 Attached patch reverses the two else blocks.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/7974>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list