summaryrefslogtreecommitdiff
path: root/ext/standard/exec.c
diff options
context:
space:
mode:
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 ee2f41acdd..c094b62ee4 100644
--- a/ext/standard/exec.c
+++ b/ext/standard/exec.c
@@ -175,7 +175,7 @@ int php_Exec(int type, char *cmd, pval *array, pval *return_value TSRMLS_DC)
if (type == 1) {
if (output) PUTS(buf);
- sapi_flush();
+ sapi_flush(TSRMLS_C);
}
else if (type == 2) {
/* strip trailing whitespaces */