comparison libgaim/ft.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 2f0b4d0de5bb
children dff16b654f14
comparison
equal deleted inserted replaced
14836:bfcdd361357e 14837:118fd0dc5b6e
943 if (ip != NULL) { 943 if (ip != NULL) {
944 xfer->remote_ip = g_strdup(ip); 944 xfer->remote_ip = g_strdup(ip);
945 xfer->remote_port = port; 945 xfer->remote_port = port;
946 946
947 /* Establish a file descriptor. */ 947 /* Establish a file descriptor. */
948 gaim_proxy_connect(xfer->account, xfer->remote_ip, 948 gaim_proxy_connect(NULL, xfer->account, xfer->remote_ip,
949 xfer->remote_port, connect_cb, xfer); 949 xfer->remote_port, connect_cb, xfer);
950 950
951 return; 951 return;
952 } 952 }
953 else { 953 else {