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