summaryrefslogtreecommitdiff
path: root/src/tool_setopt.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2013-07-22 20:03:27 +0200
committerYang Tse <yangsita@gmail.com>2013-07-22 21:40:44 +0200
commitedeb1ae65f903b216363dd4200ce33418dfd4eb4 (patch)
treece4786466ac7fc3821562da6bcaf38729129f8db /src/tool_setopt.c
parent82232bbbaf06b4ea0b86344ccf3ee0b3f7b0c92c (diff)
downloadcurl-edeb1ae65f903b216363dd4200ce33418dfd4eb4.tar.gz
curl: fix symbolic names for CURL_NETRC_* enum in --libcurl output
Diffstat (limited to 'src/tool_setopt.c')
-rw-r--r--src/tool_setopt.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tool_setopt.c b/src/tool_setopt.c
index 19439923a..cb93e1117 100644
--- a/src/tool_setopt.c
+++ b/src/tool_setopt.c
@@ -104,6 +104,13 @@ const NameValue setopt_nv_CURLUSESSL[] = {
NVEND,
};
+const NameValue setopt_nv_CURL_NETRC[] = {
+ NV(CURL_NETRC_IGNORED),
+ NV(CURL_NETRC_OPTIONAL),
+ NV(CURL_NETRC_REQUIRED),
+ NVEND,
+};
+
/* These mappings essentially triplicated - see
* tool_libinfo.c and tool_paramhlp.c */
const NameValue setopt_nv_CURLPROTO[] = {