From debe6a1432dab58c20ee4f03aeb90735ae80e640 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 22 Oct 2003 11:56:08 +0000 Subject: make --disable-eprt work, based on Gisle Vanem's patch --- src/main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 5caf803df..cd9b5f03f 100644 --- a/src/main.c +++ b/src/main.c @@ -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! */ { -- cgit v1.2.3