cvs: php4 / main.c
| From: | Thies C. Arntzen | Date: | Tue, 23 May 2000 10:36:18 +0000 |
| Subject: | cvs: php4 / main.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-15529@lists.php.net to get a copy of this message | ||
thies Tue May 23 12:36:18 2000 EDT
Modified files:
/php4 main.c
Log:
fixed newly introduced crash
Index: php4/main.c
diff -u php4/main.c:1.251 php4/main.c:1.252
--- php4/main.c:1.251 Tue May 23 01:24:55 2000
+++ php4/main.c Tue May 23 12:36:18 2000
@@ -19,7 +19,7 @@
*/
-/* $Id: main.c,v 1.251 2000/05/22 23:24:55 hholzgra Exp $ */
+/* $Id: main.c,v 1.252 2000/05/23 10:36:18 thies Exp $ */
#include <stdio.h>
@@ -1089,7 +1089,7 @@
INIT_PZVAL(arr);
/* Prepare argv */
- if(*s) {
+ if (s && *s) {
ss = s;
while (ss) {
space = strchr(ss, '+');