From: Daniel Stenberg Date: Sat, 18 Dec 2004 10:28:31 +0000 (+0000) Subject: Samuel Listopad fixed -E to support "C:/path" (with forward slash) as well. X-Git-Tag: curl-7_12_3~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=497cc6bfaf74048a6c275abb1eaa9bc2d266dd4c;p=curl Samuel Listopad fixed -E to support "C:/path" (with forward slash) as well. --- diff --git a/src/main.c b/src/main.c index a7af37665..dc4ef6e44 100644 --- a/src/main.c +++ b/src/main.c @@ -1756,7 +1756,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */ #ifdef WIN32 if(ptr && (ptr == &nextarg[1]) && - (nextarg[2] == '\\') && + (nextarg[2] == '\\' || nextarg[2] == '/') && (isalpha((int)nextarg[0])) ) /* colon in the second column, followed by a backslash, and the first character is an alphabetic letter: