mirror of
https://github.com/curl/curl.git
synced 2026-08-25 17:43:39 +03:00
curl: Fixed usage of DNS options when not using c-ares resolver
Commit 32352ed6ad 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.
This commit is contained in:
parent
8a6dba520b
commit
c243d45aad
3 changed files with 14 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue