summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2000-05-23 10:36:18 +0000
committerThies C. Arntzen <thies@php.net>2000-05-23 10:36:18 +0000
commitcf1d0f1844e1deaaa9f9c73c29c09ba4dd4b67e9 (patch)
treea756d3570604091967901c956d7d117380450a6e
parent49b2166e1a822455b82cc473db02e0752b1499d7 (diff)
downloadphp-git-cf1d0f1844e1deaaa9f9c73c29c09ba4dd4b67e9.tar.gz
fixed newly introduced crash
-rw-r--r--main/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c
index 52cd1dbd91..5212b6cbe0 100644
--- a/main/main.c
+++ b/main/main.c
@@ -1089,7 +1089,7 @@ static void php_build_argv(char *s, zval *track_vars_array ELS_DC PLS_DC)
INIT_PZVAL(arr);
/* Prepare argv */
- if(*s) {
+ if (s && *s) {
ss = s;
while (ss) {
space = strchr(ss, '+');