diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-04-23 08:44:27 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-04-23 08:44:27 +0000 |
commit | 37e4858cd01b461cb3a155826acc6c7c21a200e4 (patch) | |
tree | 4d795150e8d61c78f3658e126fd684c279718fc6 /src | |
parent | a27072bebb533a0b10825703f7824f96be117433 (diff) |
Made --proxy-ntlm check if the underlying library actually supports NTLM
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 95cb5f92e..727c8c2c2 100644 --- a/src/main.c +++ b/src/main.c @@ -1389,7 +1389,10 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */ break; case 't': /* --proxy-ntlm */ - config->proxyntlm ^= TRUE; + if(curlinfo->features & CURL_VERSION_NTLM) + config->proxyntlm ^= TRUE; + else + return PARAM_LIBCURL_DOESNT_SUPPORT; break; case 'u': /* --crlf */ |