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:
authormichael-grunder <michael.grunder@gmail.com>2013-09-14 22:57:56 +0400
committermichael-grunder <michael.grunder@gmail.com>2013-09-14 22:57:56 +0400
commit853f86b1f2e0364a44a9c06539a8e4d957ef5896 (patch)
tree8f4bfbdca7983069b196fc183761dab8a7f44607
parent0fbf639c3bfece195d2f76ebd814e53152375223 (diff)
parent4a6c01bc1a5d0c0a19f6403941a9ea928011b645 (diff)
Merge branch 'hotfix/close_command'close_command
-rw-r--r--library.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/library.c b/library.c
index 19a6f43b..7e7dc072 100644
--- a/library.c
+++ b/library.c
@@ -1182,7 +1182,7 @@ PHPAPI int redis_sock_disconnect(RedisSock *redis_sock TSRMLS_DC)
redis_sock->dbNumber = 0;
if (redis_sock->stream != NULL) {
if (!redis_sock->persistent) {
- redis_sock_write(redis_sock, "QUIT", sizeof("QUIT") - 1 TSRMLS_CC);
+ redis_sock_write(redis_sock, "QUIT" _NL, sizeof("QUIT" _NL) - 1 TSRMLS_CC);
}
redis_sock->status = REDIS_SOCK_STATUS_DISCONNECTED;