cvs: php4 /sapi/cgi cgi_main.c

From: Date: Mon, 06 Nov 2000 09:31:48 +0000
Subject: cvs: php4 /sapi/cgi cgi_main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2498@lists.php.net to get a copy of this message
stas Mon Nov 6 01:31:48 2000 EDT Modified files: /php4/sapi/cgi cgi_main.c Log: I guess SG(request_info).argv0 and not !SG(request_info).argv0 was an intent, otherwise it doesn't make much sense. Index: php4/sapi/cgi/cgi_main.c diff -u php4/sapi/cgi/cgi_main.c:1.82 php4/sapi/cgi/cgi_main.c:1.83 --- php4/sapi/cgi/cgi_main.c:1.82 Fri Nov 3 01:55:54 2000 +++ php4/sapi/cgi/cgi_main.c Mon Nov 6 01:31:48 2000 @@ -511,7 +511,7 @@ zend_llist_init(&global_vars, sizeof(char *), NULL, 0); if (!cgi) { /* never execute the arguments if you are a CGI */ - if (!SG(request_info).argv0) { + if (SG(request_info).argv0) { free(SG(request_info).argv0); SG(request_info).argv0 = NULL; }

« previous php.cvs (#2498) next »