Mercurial > pidgin.yaz
changeset 14903:6334d1b51252
[gaim-migrate @ 17675]
Fix this error message. Hopefully this compiles everywhere.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 05 Nov 2006 23:32:44 +0000 |
parents | d71a0d29ff7e |
children | 0512fddbaaf2 |
files | libgaim/proxy.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libgaim/proxy.c Sun Nov 05 23:22:41 2006 +0000 +++ b/libgaim/proxy.c Sun Nov 05 23:32:44 2006 +0000 @@ -1617,13 +1617,16 @@ { size_t addrlen; struct sockaddr *addr; + char ipaddr[INET6_ADDRSTRLEN]; addrlen = GPOINTER_TO_INT(connect_data->hosts->data); connect_data->hosts = g_slist_remove(connect_data->hosts, connect_data->hosts->data); addr = connect_data->hosts->data; connect_data->hosts = g_slist_remove(connect_data->hosts, connect_data->hosts->data); - gaim_debug_info("proxy", "Attempting connection to %s\n", "TODO"); + inet_ntop(addr->sa_family, &((struct sockaddr_in *)addr)->sin_addr, + ipaddr, sizeof(ipaddr)); + gaim_debug_info("proxy", "Attempting connection to %s\n", ipaddr); switch (gaim_proxy_info_get_type(connect_data->gpi)) { case GAIM_PROXY_NONE: