projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10717bd
)
fixed the option parser to not loop when a long option is specified
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 30 Nov 2001 09:26:06 +0000
(09:26 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 30 Nov 2001 09:26:06 +0000
(09:26 +0000)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index c332f6a477f6d76453e6056ce1cd599e2db340c0..589892b343441a6724de22a21ad64f60ca62b63d 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-1464,7
+1464,7
@@
static ParameterError getparameter(char *flag, /* f or -long-flag */
}
hit = -1;
- } while(!singleopt && *++parse && !*usedarg);
+ } while(!
longopt && !
singleopt && *++parse && !*usedarg);
return PARAM_OK;
}