Commit e6a51174 authored by antirez's avatar antirez
Browse files

Fix typo in prepareClientToWrite() comment.

parent c2c68c50
...@@ -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 alreday and the client * if not already done (there were no pending writes already 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) &&
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment