summaryrefslogtreecommitdiff
path: root/sapi/cgi/cgi_main.c
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2003-02-15 13:26:05 +0000
committerEdin Kadribasic <edink@php.net>2003-02-15 13:26:05 +0000
commit9c90d59fc0702af7a33239fc558bba8048970f17 (patch)
treeab7b34defacecdeca1f42d8991ead89e3fe16329 /sapi/cgi/cgi_main.c
parentdd15de6bdafb4be27ca7183a2844ece4284953d4 (diff)
downloadphp-git-9c90d59fc0702af7a33239fc558bba8048970f17.tar.gz
Option -b needs an argument. This fixes #22229.
# Note -b still seems to be broken: # sapi/cgi/php -b 4444 # Status: 404 # Content-type: text/html # X-Powered-By: PHP/4.3.1-dev # # No input file specified.
Diffstat (limited to 'sapi/cgi/cgi_main.c')
-rw-r--r--sapi/cgi/cgi_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index 45fbb302d9..6b94943698 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -138,7 +138,7 @@ long fix_pathinfo=1;
#define TRANSLATE_SLASHES(path)
#endif
-#define OPTSTRING "abCc:d:ef:g:hilmnqsw?vz:"
+#define OPTSTRING "ab:Cc:d:ef:g:hilmnqsw?vz:"
static int print_module_info(zend_module_entry *module, void *arg TSRMLS_DC)
{