| 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 |