summaryrefslogtreecommitdiff
path: root/content/fetch.c
diff options
context:
space:
mode:
authorJohn Tytgat <joty@netsurf-browser.org>2004-08-14 14:30:12 +0000
committerJohn Tytgat <joty@netsurf-browser.org>2004-08-14 14:30:12 +0000
commit402c4ca66c7d95b1cdfc9eefbcb94947c807155b (patch)
treedbc42a5d9357d6c03d6c479bf6792754116f8adb /content/fetch.c
parent7d3a242132eedadbcb96bead6dbed64729d11aaf (diff)
downloadnetsurf-402c4ca66c7d95b1cdfc9eefbcb94947c807155b.tar.gz
netsurf-402c4ca66c7d95b1cdfc9eefbcb94947c807155b.tar.bz2
[project @ 2004-08-14 14:30:10 by joty]
Removed a chunk of Norcroft compiler warnings. Re-ident some pieces. svn path=/import/netsurf/; revision=1231
Diffstat (limited to 'content/fetch.c')
-rw-r--r--content/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/fetch.c b/content/fetch.c
index cb1353f98..1ea20a8a0 100644
--- a/content/fetch.c
+++ b/content/fetch.c
@@ -384,7 +384,7 @@ CURLcode fetch_set_options(struct fetch *f)
SETOPT(CURLOPT_COOKIEFILE, 0);
SETOPT(CURLOPT_COOKIEJAR, 0);
}
- if ((li = login_list_get(f->url))) {
+ if ((li = login_list_get(f->url)) != NULL) {
SETOPT(CURLOPT_HTTPAUTH, CURLAUTH_ANY);
SETOPT(CURLOPT_USERPWD, li->logindetails);
} else {