summaryrefslogtreecommitdiff
path: root/framebuffer/fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'framebuffer/fetch.c')
-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;
}