diff options
author | antirez <antirez@gmail.com> | 2020-01-13 12:54:39 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2020-01-13 12:54:39 +0100 |
commit | d28948b14303fdf00b331090ef177cc6cca54fe1 (patch) | |
tree | 8e67d36005d75c98f7b5724ea1d472d7a6ab3ec1 /src/networking.c | |
parent | a8c912ead65e85b5ce3dae936320e77e047df9c9 (diff) | |
download | redis-d28948b14303fdf00b331090ef177cc6cca54fe1.tar.gz |
Port PR #6110 to new connection object code.
Diffstat (limited to 'src/networking.c')
-rw-r--r-- | src/networking.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/networking.c b/src/networking.c index 96ab8e592..73dc4afca 100644 --- a/src/networking.c +++ b/src/networking.c @@ -2822,7 +2822,7 @@ int handleClientsWithPendingWritesUsingThreads(void) { listRewind(io_threads_list[server.io_threads_num],&li); while((ln = listNext(&li))) { client *c = listNodeValue(ln); - writeToClient(c->fd,c,0); + writeToClient(c,0); } listEmpty(io_threads_list[server.io_threads_num]); @@ -2907,7 +2907,7 @@ int handleClientsWithPendingReadsUsingThreads(void) { listRewind(io_threads_list[server.io_threads_num],&li); while((ln = listNext(&li))) { client *c = listNodeValue(ln); - readQueryFromClient(NULL,c->fd,c,0); + readQueryFromClient(c->conn); } listEmpty(io_threads_list[server.io_threads_num]); |