summaryrefslogtreecommitdiff
path: root/framebuffer
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 /framebuffer
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 'framebuffer')
-rw-r--r--framebuffer/fetch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/framebuffer/fetch.c b/framebuffer/fetch.c
index 7c8dcc589..6d97cfda7 100644
--- a/framebuffer/fetch.c
+++ b/framebuffer/fetch.c
@@ -71,16 +71,16 @@ static char *url_to_path(const char *url)
{
char *path;
char *respath;
- url_func_result res; /* result from url routines */
+ nserror res; /* result from url routines */
res = url_path(url, &path);
- if (res != URL_FUNC_OK) {
+ if (res != NSERROR_OK) {
return NULL;
}
res = url_unescape(path, &respath);
free(path);
- if (res != URL_FUNC_OK) {
+ if (res != NSERROR_OK) {
return NULL;
}