diff options
author | Daniel Atallah <datallah@pidgin.im> | 2006-01-10 04:36:26 +0000 |
---|---|---|
committer | Daniel Atallah <datallah@pidgin.im> | 2006-01-10 04:36:26 +0000 |
commit | c002b8b2b58b0cc8560bd8b50a3f72625728fac2 (patch) | |
tree | c379ffef9389091805d5cbc91a3e759a35388d79 | |
parent | c8e9c58c2227702d97900823dedb76e3d9076ba3 (diff) | |
download | pidgin-c002b8b2b58b0cc8560bd8b50a3f72625728fac2.tar.gz |
[gaim-migrate @ 15149]
Avoid confusion
-rw-r--r-- | src/util.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/util.c b/src/util.c index 2d8ad0b1be..63ced5ac6b 100644 --- a/src/util.c +++ b/src/util.c @@ -3156,7 +3156,6 @@ gaim_url_fetch(const char *url, gboolean full, void (*cb)(gpointer, const char *, size_t), void *user_data) { - int sock; GaimFetchUrlData *gfud; g_return_if_fail(url != NULL); @@ -3178,9 +3177,9 @@ gaim_url_fetch(const char *url, gboolean full, gaim_url_parse(url, &gfud->website.address, &gfud->website.port, &gfud->website.page, &gfud->website.user, &gfud->website.passwd); - if ((sock = gaim_proxy_connect(NULL, gfud->website.address, + if (gaim_proxy_connect(NULL, gfud->website.address, gfud->website.port, url_fetched_cb, - gfud)) < 0) + gfud) != 0) { destroy_fetch_url_data(gfud); |