diff options
author | John Tytgat <joty@netsurf-browser.org> | 2004-08-14 15:07:21 +0000 |
---|---|---|
committer | John Tytgat <joty@netsurf-browser.org> | 2004-08-14 15:07:21 +0000 |
commit | 7264ae50e52050243d9723c47c395975e00b5e50 (patch) | |
tree | 43210eba9464a839d5cc5d76b1d60bfc7aaba467 /content | |
parent | 402c4ca66c7d95b1cdfc9eefbcb94947c807155b (diff) | |
download | netsurf-7264ae50e52050243d9723c47c395975e00b5e50.tar.gz netsurf-7264ae50e52050243d9723c47c395975e00b5e50.tar.bz2 |
[project @ 2004-08-14 15:07:19 by joty]
- Rename len() to css_len2px().
- Less compiler warnings concerning float/int implicit casts.
- More stddef.h type usuage.
svn path=/import/netsurf/; revision=1232
Diffstat (limited to 'content')
-rw-r--r-- | content/fetch.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/content/fetch.c b/content/fetch.c index 1ea20a8a0..a468a05a9 100644 --- a/content/fetch.c +++ b/content/fetch.c @@ -863,11 +863,10 @@ bool fetch_can_fetch(const char *url) { unsigned int i; const char *semi; - unsigned int len; + size_t len; curl_version_info_data *data; - semi = strchr(url, ':'); - if (!semi) + if ((semi = strchr(url, ':')) == NULL) return false; len = semi - url; |