summaryrefslogtreecommitdiff
path: root/ext/standard/exec.c
diff options
context:
space:
mode:
authorRui Hirokawa <rui.hirokawa@gmail.com>2012-04-09 23:49:18 +0900
committerRui Hirokawa <rui.hirokawa@gmail.com>2012-04-09 23:49:18 +0900
commit882dca647a42c974102cfd1c75818764a199998f (patch)
tree2d0ad967ea720e8e7c3f0fbecca5862cd60c5755 /ext/standard/exec.c
parent7ae93a2c4c8a51cc2aec9977ce3c83c100e382a0 (diff)
downloadphp-git-882dca647a42c974102cfd1c75818764a199998f.tar.gz
MFH: fixed a mistake on reverting my previous patch.
Diffstat (limited to 'ext/standard/exec.c')
-rw-r--r--ext/standard/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c
index b0ccdeca3b..a5ca84bb6b 100644
--- a/ext/standard/exec.c
+++ b/ext/standard/exec.c
@@ -272,8 +272,8 @@ PHPAPI char *php_escape_shell_cmd(char *str)
p = NULL;
} else {
cmd[y++] = '\\';
- cmd[y++] = str[x];
}
+ cmd[y++] = str[x];
break;
#else
/* % is Windows specific for enviromental variables, ^%PATH% will