Mercurial > pidgin
changeset 8917:189ee7356c59
[gaim-migrate @ 9687]
Hopefully give a more verbose proxy error message.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 11 May 2004 19:27:23 +0000 |
parents | 2c33a94a6ac2 |
children | c34e4e6128f3 |
files | src/proxy.c |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/proxy.c Tue May 11 14:20:26 2004 +0000 +++ b/src/proxy.c Tue May 11 19:27:23 2004 +0000 @@ -849,9 +849,11 @@ close(source); source = -1; - if ( status == 403 /* Forbidden */ ) - gaim_connection_error(phb->account->gc, _("Access denied: proxy server forbids port 80 tunnelling.")); - else { + if ( status == 403 /* Forbidden */ ) { + gchar *msg = g_strdup_printf(_("Access denied: proxy server forbids port %d tunnelling."), phb->port); + gaim_connection_error(phb->account->gc, msg); + g_free(msg); + } else { char *msg = g_strdup_printf(_("Proxy connection error %d"), status); gaim_connection_error(phb->account->gc, msg); g_free(msg);