diff options
Diffstat (limited to 'library.c')
-rw-r--r-- | library.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3017,7 +3017,7 @@ redis_sock_write(RedisSock *redis_sock, char *cmd, size_t sz) if (redis_check_eof(redis_sock, 0, 0) == 0 && php_stream_write(redis_sock->stream, cmd, sz) == sz ) { - return sz; + return redis_sock->txBytes = sz; } return -1; } |