summaryrefslogtreecommitdiff
path: root/gtk/fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/fetch.c')
-rw-r--r--gtk/fetch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/fetch.c b/gtk/fetch.c
index a76ad9f4d..c1857ab48 100644
--- a/gtk/fetch.c
+++ b/gtk/fetch.c
@@ -256,16 +256,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;
}