Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
e6a51174
Commit
e6a51174
authored
Nov 27, 2015
by
antirez
Browse files
Fix typo in prepareClientToWrite() comment.
parent
c2c68c50
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/networking.c
View file @
e6a51174
...
@@ -171,7 +171,7 @@ int prepareClientToWrite(client *c) {
...
@@ -171,7 +171,7 @@ int prepareClientToWrite(client *c) {
if
(
c
->
fd
<=
0
)
return
C_ERR
;
/* Fake client for AOF loading. */
if
(
c
->
fd
<=
0
)
return
C_ERR
;
/* Fake client for AOF loading. */
/* Schedule the client to write the output buffers to the socket only
/* Schedule the client to write the output buffers to the socket only
* if not already done (there were no pending writes alre
d
ay and the client
* if not already done (there were no pending writes alrea
d
y and the client
* was yet not flagged), and, for slaves, if the slave can actually
* was yet not flagged), and, for slaves, if the slave can actually
* receive writes at this stage. */
* receive writes at this stage. */
if
(
!
clientHasPendingReplies
(
c
)
&&
if
(
!
clientHasPendingReplies
(
c
)
&&
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment