Mercurial > pidgin
comparison src/proxy.c @ 5580:86456ec3ca25
[gaim-migrate @ 5984]
More nifty stuff! Accounts now get converted, and other niceties.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Sat, 31 May 2003 02:27:03 +0000 |
| parents | dfdea22a7153 |
| children | 46d7ad0dfa26 |
comparison
equal
deleted
inserted
replaced
| 5579:e0146fcc4718 | 5580:86456ec3ca25 |
|---|---|
| 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 |
