Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'redis_commands.c')
-rw-r--r--redis_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis_commands.c b/redis_commands.c
index 078d12c0..263e3516 100644
--- a/redis_commands.c
+++ b/redis_commands.c
@@ -4027,7 +4027,7 @@ void redis_unserialize_handler(INTERNAL_FUNCTION_PARAMETERS,
zval zv, *z_ret = &zv;
if (!redis_unserialize(redis_sock, value, value_len, z_ret TSRMLS_CC)) {
// Badly formed input, throw an execption
- zend_throw_exception(ex, "Invalid serialized data, or unserialization error", 0 TSRMLS_CC);
+ zend_throw_exception(ex, "Invalid serialized data, or unserialization error", 0);
RETURN_FALSE;
}
RETURN_ZVAL(z_ret, 1, 0);