aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-12-18 10:28:31 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-12-18 10:28:31 +0000
commit497cc6bfaf74048a6c275abb1eaa9bc2d266dd4c (patch)
tree58561bdd296faf765656b1379fc8251efc3c470d
parentd5be114c079d1b0462dc8d5d56bea224a756417f (diff)
Samuel Listopad fixed -E to support "C:/path" (with forward slash) as well.
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
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: