Mercurial > pidgin
comparison src/proxy.c @ 3867:43e396e94095
[gaim-migrate @ 4019]
compile cleanups by nathan
committer: Tailor Script <tailor@pidgin.im>
| author | Rob Flynn <gaim@robflynn.com> |
|---|---|
| date | Sun, 03 Nov 2002 07:36:09 +0000 |
| parents | 988485669631 |
| children | 7ba9b56a8796 |
comparison
equal
deleted
inserted
replaced
| 3866:994b5c4d15dd | 3867:43e396e94095 |
|---|---|
| 330 | 330 |
| 331 static int proxy_connect_http(char *host, unsigned short port, struct PHB *phb) | 331 static int proxy_connect_http(char *host, unsigned short port, struct PHB *phb) |
| 332 { | 332 { |
| 333 struct sockaddr_in *sin; | 333 struct sockaddr_in *sin; |
| 334 int fd = -1; | 334 int fd = -1; |
| 335 u_long imode; | |
| 336 | 335 |
| 337 debug_printf("connecting to %s:%d via %s:%d using HTTP\n", host, port, proxyhost, proxyport); | 336 debug_printf("connecting to %s:%d via %s:%d using HTTP\n", host, port, proxyhost, proxyport); |
| 338 | 337 |
| 339 if (!(sin = gaim_gethostbyname(proxyhost, proxyport))) { | 338 if (!(sin = gaim_gethostbyname(proxyhost, proxyport))) { |
| 340 g_free(phb); | 339 g_free(phb); |
