Commit debe6a14 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

make --disable-eprt work, based on Gisle Vanem's patch

parent 715c3f64
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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! */
        {