We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fbf639 commit 4a6c01bCopy full SHA for 4a6c01b
library.c
@@ -1182,7 +1182,7 @@ PHPAPI int redis_sock_disconnect(RedisSock *redis_sock TSRMLS_DC)
1182
redis_sock->dbNumber = 0;
1183
if (redis_sock->stream != NULL) {
1184
if (!redis_sock->persistent) {
1185
- redis_sock_write(redis_sock, "QUIT", sizeof("QUIT") - 1 TSRMLS_CC);
+ redis_sock_write(redis_sock, "QUIT" _NL, sizeof("QUIT" _NL) - 1 TSRMLS_CC);
1186
}
1187
1188
redis_sock->status = REDIS_SOCK_STATUS_DISCONNECTED;
0 commit comments