cvs: php4 / main.c

[email protected] ("Thies C. Arntzen")
Newsgroups php.version4
Message-ID <cvsthies959078178@cvsserver>
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, '+');
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.