Fix command line parsing. This was introduced in r1395253 when refactoring the code.
Untested
PR 55264 <jrhett netconsonance com>
Submitted by: jailletc36
Reviewed/backported by: jim
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1506135 13f79535-47bb-0310-9956-
ffa450edef68
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- * support/htdbm: fix processing of -t command line switch. Regression
- introduced in 2.4.4
- PR55264 [Jo Rhett <jrhett netconsonance com>]
- trunk: http://svn.apache.org/r1503866
- 2.4.x patch: trunk works
- +1: jailletc36, druggeri, jim
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
if (rv != APR_SUCCESS)
exit(ERR_SYNTAX);
- while ((rv = apr_getopt(state, "cnmspdBbDivxlC:T:", &opt, &opt_arg)) == APR_SUCCESS) {
+ while ((rv = apr_getopt(state, "cnmspdBbtivxlC:T:", &opt, &opt_arg)) == APR_SUCCESS) {
switch (opt) {
case 'c':
h->create = 1;