cvs: /php4 cgi_main.c
| From: | Jakub Skopal | Date: | Mon, 06 Sep 1999 01:33:14 +0000 |
| Subject: | cvs: /php4 cgi_main.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4147@lists.php.net to get a copy of this message | ||
riffraff Sun Sep 5 21:33:14 1999 EDT
Modified files:
/php4 cgi_main.c
Log:
Corrected the argument-list for getopt. -c expects argument.
Index: php4/cgi_main.c
diff -u php4/cgi_main.c:1.27 php4/cgi_main.c:1.28
--- php4/cgi_main.c:1.27 Sun Aug 29 14:25:37 1999
+++ php4/cgi_main.c Sun Sep 5 21:33:13 1999
@@ -305,7 +305,7 @@
if (!cgi) { /* never execute the arguments if you are a CGI */
request_info.php_argv0 = NULL;
- while ((c = getopt(argc, argv, "cd:qvisnaeh?vf:")) != -1) {
+ while ((c = getopt(argc, argv, "c:d:qvisnaeh?vf:")) != -1) {
switch (c) {
case 'f':
if (!cgi_started){