diff options
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 */ |