Mercurial > pidgin.yaz
changeset 12273:9ed903d0c619
[gaim-migrate @ 14575]
sf patch #1368797, from Evan Schoenberg
Fix a printf("%s", NULL); crash
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 30 Nov 2005 06:21:51 +0000 |
parents | 3ef381cdc47e |
children | 3d9ef8a98074 |
files | src/proxy.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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) {