aboutsummaryrefslogtreecommitdiff
path: root/src/tool_getparam.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-09-13 18:50:11 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-09-13 18:50:11 +0100
commitc243d45aadb502301e5e92d6f87af1d434ce98b4 (patch)
tree36d21a75018566a58c9828092185f8d773677b69 /src/tool_getparam.c
parent8a6dba520bfc81a5bc6ffcd38bedc73b8e520c8e (diff)
curl: Fixed usage of DNS options when not using c-ares resolver
Commit 32352ed6adddcb introduced various DNS options, however, these would cause curl to exit with CURLE_NOT_BUILT_IN when c-ares wasn't being used as the backend resolver even if the options weren't set by the user. Additionally corrected some minor coding style errors from the same commit.
Diffstat (limited to 'src/tool_getparam.c')
-rw-r--r--src/tool_getparam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_getparam.c b/src/tool_getparam.c
index d23084f57..583a84162 100644
--- a/src/tool_getparam.c
+++ b/src/tool_getparam.c
@@ -80,7 +80,7 @@ static const struct LongShort aliases[]= {
{"*B", "bearer", TRUE},
{"*c", "connect-timeout", TRUE},
{"*d", "ciphers", TRUE},
- {"*D", "dns-interface", TRUE},
+ {"*D", "dns-interface", TRUE},
{"*e", "disable-epsv", FALSE},
{"*E", "epsv", FALSE},
/* 'epsv' made like this to make --no-epsv and --epsv to work