aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kaufmann <mail@michael-kaufmann.ch>2018-03-11 20:30:02 +0100
committerMichael Kaufmann <mail@michael-kaufmann.ch>2018-03-11 20:33:04 +0100
commit7294e70480b72b9b351f44528aa70684f735ad08 (patch)
tree49f840839c9e502df4d67e4b3f72a137e803495d
parenta577059f92fc65bd6b81717f0737f897a5b34248 (diff)
Curl_range: fix FTP-only and FILE-only builds
follow-up to e04417d
-rw-r--r--lib/curl_range.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/curl_range.c b/lib/curl_range.c
index 849e12fd3..aa3c49332 100644
--- a/lib/curl_range.c
+++ b/lib/curl_range.c
@@ -27,7 +27,7 @@
#include "strtoofft.h"
/* Only include this function if one or more of FTP, FILE are enabled. */
-#if !defined(CURL_DISABLE_FTP) && !defined(CURL_DISABLE_FILE)
+#if !defined(CURL_DISABLE_FTP) || !defined(CURL_DISABLE_FILE)
/*
Check if this is a range download, and if so, set the internal variables