]> granicus.if.org Git - php/commitdiff
recorrect las checkin
authorMarcus Boerger <helly@php.net>
Wed, 27 Mar 2002 21:01:26 +0000 (21:01 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 27 Mar 2002 21:01:26 +0000 (21:01 +0000)
sapi/cli/php_cli.c

index 17522d4cf52c13f14352a6c7ed7868326338c669..da755de4605ed10d87a3ae77eea64dced0d211b3 100644 (file)
@@ -554,7 +554,7 @@ int main(int argc, char *argv[])
                CG(interactive) = interactive;
 
                /* only set script_file if not set already and not in direct mode and not at end of parameter list */
-               if (argc > ap_php_optind && !script_file && behavior!=PHP_MODE_CLI_DIRECT && !strcmp(argv[ap_php_optind-1],"--")) {
+               if (argc > ap_php_optind && !script_file && behavior!=PHP_MODE_CLI_DIRECT && strcmp(argv[ap_php_optind-1],"--")) {
                        no_headers = 1;
                        script_file=argv[ap_php_optind];
                        ap_php_optind++;