# HG changeset patch # User Mark Doliner # Date 1133331711 0 # Node ID 9ed903d0c6190d2a187b583f78b9b83956ea3889 # Parent 3ef381cdc47e935a9f003e33580e9851d03419a1 [gaim-migrate @ 14575] sf patch #1368797, from Evan Schoenberg Fix a printf("%s", NULL); crash committer: Tailor Script diff -r 3ef381cdc47e -r 9ed903d0c619 src/proxy.c --- a/src/proxy.c Wed Nov 30 06:03:49 2005 +0000 +++ b/src/proxy.c Wed Nov 30 06:21:51 2005 +0000 @@ -1177,8 +1177,8 @@ gaim_debug_info("http proxy", "Connecting to %s:%d via %s:%d using HTTP\n", - phb->host, phb->port, - gaim_proxy_info_get_host(phb->gpi), + (phb->host ? phb->host : "(null)"), phb->port, + (gaim_proxy_info_get_host(phb->gpi) ? gaim_proxy_info_get_host(phb->gpi) : "(null)"), gaim_proxy_info_get_port(phb->gpi)); if ((fd = socket(addr->sa_family, SOCK_STREAM, 0)) < 0) {