comparison libgaim/protocols/jabber/si.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 21bd0369ddd7
children c2f15e2117dc
comparison
equal deleted inserted replaced
14836:bfcdd361357e 14837:118fd0dc5b6e
175 dstaddr = g_malloc(41); 175 dstaddr = g_malloc(41);
176 p = dstaddr; 176 p = dstaddr;
177 for(i=0; i<20; i++, p+=2) 177 for(i=0; i<20; i++, p+=2)
178 snprintf(p, 3, "%02x", hashval[i]); 178 snprintf(p, 3, "%02x", hashval[i]);
179 179
180 jsx->connect_data = gaim_proxy_connect_socks5(jsx->gpi, dstaddr, 0, 180 jsx->connect_data = gaim_proxy_connect_socks5(NULL, jsx->gpi,
181 dstaddr, 0,
181 jabber_si_bytestreams_connect_cb, xfer); 182 jabber_si_bytestreams_connect_cb, xfer);
182 g_free(dstaddr); 183 g_free(dstaddr);
183 184
184 jabber_id_free(dstjid); 185 jabber_id_free(dstjid);
185 } 186 }