aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tool_setopt.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tool_setopt.c b/src/tool_setopt.c
index 871e25c01..4c98d9057 100644
--- a/src/tool_setopt.c
+++ b/src/tool_setopt.c
@@ -824,6 +824,16 @@ bool tool_setopt_skip(CURLoption tag)
break;
}
#endif
+#ifdef CURL_DISABLE_NETRC
+#define USED_TAG
+ switch(tag) {
+ case CURLOPT_NETRC:
+ case CURLOPT_NETRC_FILE:
+ return TRUE;
+ default:
+ break;
+ }
+#endif
#ifndef USED_TAG
(void)tag;