summaryrefslogtreecommitdiff
path: root/desktop/download.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-05-08 00:16:50 +0100
committerVincent Sanders <vince@kyllikki.org>2014-05-08 00:16:50 +0100
commit096bd47ab0018e7b9c3affd58b6134463e2aaa65 (patch)
treeb3975e107568ee9d005e19a5f998c29c55ef1e2f /desktop/download.c
parent781d42e33c6cc7d1660eb535c45f70a88b71579e (diff)
downloadnetsurf-096bd47ab0018e7b9c3affd58b6134463e2aaa65.tar.gz
netsurf-096bd47ab0018e7b9c3affd58b6134463e2aaa65.tar.bz2
refactor url utility functions to use standard nserror codes and have appropriate documentation.
Diffstat (limited to 'desktop/download.c')
-rw-r--r--desktop/download.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/download.c b/desktop/download.c
index b458f577c..cad04779f 100644
--- a/desktop/download.c
+++ b/desktop/download.c
@@ -75,7 +75,7 @@ static char *download_default_filename(const char *url)
{
char *nice;
- if (url_nice(url, &nice, false) == URL_FUNC_OK)
+ if (url_nice(url, &nice, false) == NSERROR_OK)
return nice;
return NULL;