From: <the...@us...> - 2006-11-05 23:40:32
|
Revision: 17675 http://svn.sourceforge.net/gaim/?rev=17675&view=rev Author: thekingant Date: 2006-11-05 15:32:44 -0800 (Sun, 05 Nov 2006) Log Message: ----------- Fix this error message. Hopefully this compiles everywhere. Modified Paths: -------------- trunk/libgaim/proxy.c Modified: trunk/libgaim/proxy.c =================================================================== --- trunk/libgaim/proxy.c 2006-11-05 23:22:41 UTC (rev 17674) +++ trunk/libgaim/proxy.c 2006-11-05 23:32:44 UTC (rev 17675) @@ -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: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |