]> granicus.if.org Git - curl/commitdiff
Curl_range: fix FTP-only and FILE-only builds
authorMichael Kaufmann <mail@michael-kaufmann.ch>
Sun, 11 Mar 2018 19:30:02 +0000 (20:30 +0100)
committerMichael Kaufmann <mail@michael-kaufmann.ch>
Sun, 11 Mar 2018 19:33:04 +0000 (20:33 +0100)
follow-up to e04417d

lib/curl_range.c

index 849e12fd355990005639c67c6ad189ebac4f66b0..aa3c49332110584908cb0c2edfaa647e5e83ce13 100644 (file)
@@ -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