src/proxy.c

changeset 5580
a5a3e6dfb409
parent 5572
dd72e0429485
child 5681
514fbc5374dc
equal deleted inserted replaced
5579:9a3dbd24e80a 5580:a5a3e6dfb409
1241 } 1241 }
1242 1242
1243 int 1243 int
1244 proxy_connect(GaimAccount *account, const char *host, int port, GaimInputFunction func, gpointer data) 1244 proxy_connect(GaimAccount *account, const char *host, int port, GaimInputFunction func, gpointer data)
1245 { 1245 {
1246 char *connecthost = host; 1246 const char *connecthost = host;
1247 int connectport = port; 1247 int connectport = port;
1248 struct PHB *phb = g_new0(struct PHB, 1); 1248 struct PHB *phb = g_new0(struct PHB, 1);
1249 if(!account || !account->gpi) 1249 if(!account || !account->gpi)
1250 phb->gpi = &global_proxy_info; 1250 phb->gpi = &global_proxy_info;
1251 else 1251 else

mercurial