diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2014-10-28 22:33:41 +0100 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2014-10-28 22:33:41 +0100 |
commit | 234df7d2cae516cba99619267be2f9db7a1418a7 (patch) | |
tree | bb8d56e43d2ff3475653bf8fa04f7b542eac9a18 /phpdbg_wait.c | |
parent | d25cc7f09085ea8f162a984b8345c6ecaebf0a65 (diff) | |
download | php-git-234df7d2cae516cba99619267be2f9db7a1418a7.tar.gz |
Fix versions & config.m4
Diffstat (limited to 'phpdbg_wait.c')
-rw-r--r-- | phpdbg_wait.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpdbg_wait.c b/phpdbg_wait.c index bdce77180b..a8c7dd49cb 100644 --- a/phpdbg_wait.c +++ b/phpdbg_wait.c @@ -174,6 +174,7 @@ void phpdbg_webdata_decompress(char *msg, int len TSRMLS_DC) { free_zv = *zvpp; } +#if PHP_VERSION_ID >= 50600 if (zend_hash_find(ht, "input", sizeof("input"), (void **) &zvpp) == SUCCESS && Z_TYPE_PP(zvpp) == IS_STRING) { if (SG(request_info).request_body) { php_stream_close(SG(request_info).request_body); @@ -182,6 +183,7 @@ void phpdbg_webdata_decompress(char *msg, int len TSRMLS_DC) { php_stream_truncate_set_size(SG(request_info).request_body, 0); php_stream_write(SG(request_info).request_body, Z_STRVAL_PP(zvpp), Z_STRLEN_PP(zvpp)); } +#endif if (zend_hash_find(ht, "cwd", sizeof("cwd"), (void **) &zvpp) == SUCCESS && Z_TYPE_PP(zvpp) == IS_STRING) { if (VCWD_CHDIR(Z_STRVAL_PP(zvpp)) == SUCCESS) { |