mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
make --disable-eprt work, based on Gisle Vanem's patch
This commit is contained in:
parent
715c3f6482
commit
debe6a1432
@ -1143,6 +1143,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
|
||||
{"*w", "interface", TRUE},
|
||||
{"*x", "krb4", TRUE},
|
||||
{"*y", "max-filesize", TRUE},
|
||||
{"*z", "disable-eprt", FALSE},
|
||||
{"0", "http1.0", FALSE},
|
||||
{"1", "tlsv1", FALSE},
|
||||
{"2", "sslv2", FALSE},
|
||||
@ -1303,9 +1304,6 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
|
||||
case 'e': /* --disable-epsv */
|
||||
config->disable_epsv ^= TRUE;
|
||||
break;
|
||||
case 'f': /* --disable-eprt */
|
||||
config->disable_eprt ^= TRUE;
|
||||
break;
|
||||
#ifdef USE_ENVIRONMENT
|
||||
case 'f':
|
||||
config->writeenv ^= TRUE;
|
||||
@ -1412,6 +1410,9 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
|
||||
case 'y': /* --max-filesize */
|
||||
config->max_filesize = atoi(nextarg);
|
||||
break;
|
||||
case 'z': /* --disable-eprt */
|
||||
config->disable_eprt ^= TRUE;
|
||||
break;
|
||||
|
||||
default: /* the URL! */
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user