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 'cluster_library.c')
-rw-r--r--cluster_library.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cluster_library.c b/cluster_library.c
index c681a17e..16f02d0f 100644
--- a/cluster_library.c
+++ b/cluster_library.c
@@ -380,6 +380,8 @@ static void cluster_set_err(redisCluster *c, char *err, int err_len)
memcpy(c->err,err,err_len);
c->err[err_len]='\0';
c->err_len = err_len;
+php_printf("Set error to: %s\n", c->err);
+
} else {
if(c->err) efree(c->err);
c->err = NULL;