Mercurial > pidgin
diff libpurple/protocols/qq/send_file.c @ 25807:e35115192593
Finished struct hiding in bonjour and qq
author | Gary Kramlich <grim@reaperworld.com> |
---|---|
date | Sun, 02 Nov 2008 10:21:19 +0000 |
parents | 818ab62006f5 |
children | 65cfc59858cf |
line wrap: on
line diff
--- a/libpurple/protocols/qq/send_file.c Sun Nov 02 09:25:16 2008 +0000 +++ b/libpurple/protocols/qq/send_file.c Sun Nov 02 10:21:19 2008 +0000 @@ -804,7 +804,7 @@ "Received a FACE ip detect from %d, so he/she must be online :)\n", sender_uid); b = purple_find_buddy(gc->account, sender_name); - bd = (b == NULL) ? NULL : (qq_buddy_data *) b->proto_data; + bd = (b == NULL) ? NULL : purple_buddy_get_protocol_data(b); if (bd) { if(0 != info->remote_real_ip) { g_memmove(&(bd->ip), &info->remote_real_ip, sizeof(bd->ip));