Mercurial > pidgin.yaz
diff libpurple/protocols/qq/send_file.c @ 24071:619ac2303c46
2009.10.02 - ccpaging <ccpaging(at)gmail.com>
* Added 'Captcha Display' function
* Most functions from patch written by Emil Alexiev merged into trunk,
except 'buddy operations'
* 'online buddy status' and 'qun buddies' still have problems
author | SHiNE CsyFeK <csyfek@gmail.com> |
---|---|
date | Wed, 22 Oct 2008 14:43:46 +0000 |
parents | dbc7a9742f8d |
children | 818ab62006f5 |
line wrap: on
line diff
--- a/libpurple/protocols/qq/send_file.c Wed Oct 22 14:42:23 2008 +0000 +++ b/libpurple/protocols/qq/send_file.c Wed Oct 22 14:43:46 2008 +0000 @@ -121,11 +121,8 @@ sin.sin_port = g_htons(info->remote_minor_port); sin.sin_addr.s_addr = g_htonl(info->remote_real_ip); } - purple_debug_info("QQ", "sending to channel: %d.%d.%d.%d:%d\n", - (int)sin.sin_addr.s_addr & 0xff, - (int)(sin.sin_addr.s_addr >> 8) & 0xff, - (int)(sin.sin_addr.s_addr >> 16) & 0xff, - (int)sin.sin_addr.s_addr >> 24, + purple_debug_info("QQ", "sending to channel: %s:%d\n", + inet_ntoa(sin.sin_addr), (int)g_ntohs(sin.sin_port) ); return sendto(info->sender_fd, buf, len, 0, (struct sockaddr *) &sin, sizeof(sin));