Mercurial > pidgin
diff plugins/yay/login.c @ 2010:dff412b306b8
[gaim-migrate @ 2020]
this is Jeremy Brooks's patch to allow specification of host/port for Yahoo. I redid it slightly to work with some of the existing architecture.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 13 Jun 2001 23:12:20 +0000 |
parents | a4f1f8d429fb |
children |
line wrap: on
line diff
--- a/plugins/yay/login.c Wed Jun 13 21:28:03 2001 +0000 +++ b/plugins/yay/login.c Wed Jun 13 23:12:20 2001 +0000 @@ -44,10 +44,10 @@ at = g_snprintf(buf, 1024 + strlen(name) + strlen(password), "GET %s%s/config/ncclogin?login=%s&passwd=%s&n=1 HTTP/1.0\r\n" "User-Agent: " YAHOO_USER_AGENT "\r\n" - "Host: " YAHOO_AUTH_HOST "\r\n\r\n", + "Host: %s\r\n\r\n", session->proxy_type ? "http://" : "", - session->proxy_type ? YAHOO_AUTH_HOST "" : " ", - a, b); + session->proxy_type ? session->auth_host : "", + a, b, session->auth_host); g_free(a); g_free(b);