comparison src/proxy.c @ 11033:50224ac8184d

[gaim-migrate @ 12919] Ok, this is debug window filtering. Sadrul was going to do this with a text entry, but I like this better, feel free to disagree with me. It's not the prettiest in a couple places, most notable gtkmain.c where a bunch of categories that don't currently have a home get registered. I added some plugin_(un)load functions to some plugins to place the (un)register functions. Though I didn't do that for the prpls. Comments and cleanups welcome. (Oh, I've been seeing some crashes on quit, but I haven't been able to get it to happen reliably so I'm not sure if it's my code or some transient HEAD oscar/other crash.) committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Tue, 28 Jun 2005 06:13:07 +0000
parents aca17634b9ab
children 5c56223fa24f
comparison
equal deleted inserted replaced
11032:31c1c48daba1 11033:50224ac8184d
1199 struct hostent *hp; 1199 struct hostent *hp;
1200 struct PHB *phb = data; 1200 struct PHB *phb = data;
1201 unsigned int len; 1201 unsigned int len;
1202 int error = ETIMEDOUT; 1202 int error = ETIMEDOUT;
1203 1203
1204 gaim_debug_info("s4 proxy", "Connected.\n"); 1204 gaim_debug_info("socks4 proxy", "Connected.\n");
1205 1205
1206 if (phb->inpa > 0) 1206 if (phb->inpa > 0)
1207 gaim_input_remove(phb->inpa); 1207 gaim_input_remove(phb->inpa);
1208 1208
1209 len = sizeof(error); 1209 len = sizeof(error);
1956 1956
1957 void 1957 void
1958 gaim_proxy_init(void) 1958 gaim_proxy_init(void)
1959 { 1959 {
1960 void *handle; 1960 void *handle;
1961
1962 gaim_debug_register_category("dns");
1963 gaim_debug_register_category("proxy");
1964 gaim_debug_register_category("http proxy");
1965 gaim_debug_register_category("socks5 proxy");
1966 gaim_debug_register_category("socks4 proxy");
1961 1967
1962 /* Initialize a default proxy info struct. */ 1968 /* Initialize a default proxy info struct. */
1963 global_proxy_info = gaim_proxy_info_new(); 1969 global_proxy_info = gaim_proxy_info_new();
1964 1970
1965 /* Proxy */ 1971 /* Proxy */