# HG changeset patch # User Mark Doliner # Date 1162769564 0 # Node ID 6334d1b512526e413fa68139ab9d23f04903e0ea # Parent d71a0d29ff7e7360e8a92fca9baeafcd8c1e2c4b [gaim-migrate @ 17675] Fix this error message. Hopefully this compiles everywhere. committer: Tailor Script diff -r d71a0d29ff7e -r 6334d1b51252 libgaim/proxy.c --- 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: