summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2015-11-27 16:17:21 +0100
committerantirez <antirez@gmail.com>2015-12-18 09:19:13 +0100
commit57f079a2aec3da1f5a1964f1527e7c414749978d (patch)
tree1cc6874bf7dcb16aa13fbc35f36dbb70dc539621
parentcd29e7be277da5ead8c885913b196c193231d23a (diff)
downloadredis-57f079a2aec3da1f5a1964f1527e7c414749978d.tar.gz
Fix typo in prepareClientToWrite() comment.
-rw-r--r--src/networking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/networking.c b/src/networking.c
index 14a5d9a55..2b88a3efa 100644
--- a/src/networking.c
+++ b/src/networking.c
@@ -167,7 +167,7 @@ int prepareClientToWrite(client *c) {
if (c->fd <= 0) return C_ERR; /* Fake client for AOF loading. */
/* 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
* receive writes at this stage. */
if (!clientHasPendingReplies(c) &&