Mercurial > pidgin
diff libgaim/protocols/yahoo/yahoo.c @ 14631:622931ca5622
[gaim-migrate @ 17377]
A pending yahoo_buddy_icon_upload() request is now cancelled when disconnecting or if a second upload request is made, which can happen if the user rapidly changes buddy icons.
committer: Tailor Script <tailor@pidgin.im>
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Tue, 26 Sep 2006 23:20:39 +0000 |
parents | 8ed6ef220b2d |
children | c811cfc944d1 |
line wrap: on
line diff
--- a/libgaim/protocols/yahoo/yahoo.c Tue Sep 26 23:02:40 2006 +0000 +++ b/libgaim/protocols/yahoo/yahoo.c Tue Sep 26 23:20:39 2006 +0000 @@ -2778,6 +2778,8 @@ yd->rxlen = 0; g_free(yd->picture_url); + if (yd->buddy_icon_connect_data) + gaim_proxy_connect_cancel(yd->buddy_icon_connect_data); if (yd->picture_upload_todo) yahoo_buddy_icon_upload_data_free(yd->picture_upload_todo); if (yd->ycht)