comparison libgaim/protocols/qq/qq_proxy.c @ 14837:118fd0dc5b6e

[gaim-migrate @ 17606] Add a "handle" parameter to gaim_proxy_connect(). It seemed like people thought this was a good idea. You can still cancel each gaim_proxy_connect() individually, if needed. I passed in NULL for the handle in most places. It might be better to pass in the gc in more places, but these changes do no harm, and they should help some Yahoo! things, and I wanted to get the API change in. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 28 Oct 2006 20:04:03 +0000
parents 108152f29f37
children c039c920e11c
comparison
equal deleted inserted replaced
14836:bfcdd361357e 14837:118fd0dc5b6e
418 qd = (qq_data *) gc->proto_data; 418 qd = (qq_data *) gc->proto_data;
419 qd->server_ip = g_strdup(host); 419 qd->server_ip = g_strdup(host);
420 qd->server_port = port; 420 qd->server_port = port;
421 421
422 if(use_tcp) 422 if(use_tcp)
423 return (gaim_proxy_connect(account, host, port, func, data) == NULL); 423 return (gaim_proxy_connect(NULL, account, host, port, func, data) == NULL);
424 else 424 else
425 return _qq_udp_proxy_connect(account, host, port, func, data); 425 return _qq_udp_proxy_connect(account, host, port, func, data);
426 } 426 }
427 427
428 /* establish a generic QQ connection 428 /* establish a generic QQ connection