summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tool_urlglob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_urlglob.c b/src/tool_urlglob.c
index 96c514493..23238b14b 100644
--- a/src/tool_urlglob.c
+++ b/src/tool_urlglob.c
@@ -698,8 +698,8 @@ CURLcode glob_match_url(char **result, char *filename, struct URLGlob *glob)
*result = sanitized;
return CURLE_OK;
}
-#endif /* MSDOS || WIN32 */
-
+#else
*result = curlx_dyn_ptr(&dyn);
return CURLE_OK;
+#endif /* MSDOS || WIN32 */
}