comparison src/proxy.c @ 13084:31a3a9af1494

[gaim-migrate @ 15446] simple: successfully register at MS LCS no presence working at the moment committer: Tailor Script <tailor@pidgin.im>
author Thomas Butter <tbutter>
date Tue, 31 Jan 2006 21:02:52 +0000
parents e8adf8183cf4
children 33bef17125c2
comparison
equal deleted inserted replaced
13083:1b81ab9c8441 13084:31a3a9af1494
1134 *username = 0; 1134 *username = 0;
1135 username ++; 1135 username ++;
1136 ntlm += strlen("Proxy-Authenticate: NTLM "); 1136 ntlm += strlen("Proxy-Authenticate: NTLM ");
1137 while(*nonce != '\r' && *nonce != '\0') nonce ++; 1137 while(*nonce != '\r' && *nonce != '\0') nonce ++;
1138 *nonce = 0; 1138 *nonce = 0;
1139 nonce = gaim_ntlm_parse_type2(ntlm); 1139 nonce = gaim_ntlm_parse_type2(ntlm, NULL);
1140 response = gaim_ntlm_gen_type3(username, (gchar*)gaim_proxy_info_get_password(phb->gpi), (gchar*)gaim_proxy_info_get_host(phb->gpi), domain, nonce); 1140 response = gaim_ntlm_gen_type3(username, (gchar*)gaim_proxy_info_get_password(phb->gpi), (gchar*)gaim_proxy_info_get_host(phb->gpi), domain, nonce, NULL);
1141 username--; 1141 username--;
1142 *username = '\\'; 1142 *username = '\\';
1143 request = g_strdup_printf("CONNECT %s:%d HTTP/1.1\r\nHost: %s:%d\r\nProxy-Authorization: NTLM %s\r\nProxy-Connection: Keep-Alive\r\n\r\n", 1143 request = g_strdup_printf("CONNECT %s:%d HTTP/1.1\r\nHost: %s:%d\r\nProxy-Authorization: NTLM %s\r\nProxy-Connection: Keep-Alive\r\n\r\n",
1144 phb->host, phb->port, phb->host, phb->port, 1144 phb->host, phb->port, phb->host, phb->port,
1145 response); 1145 response);