diff --git a/src/networking.c b/src/networking.c index 4c394af70a93..706beb4809b3 100644 --- a/src/networking.c +++ b/src/networking.c @@ -263,7 +263,7 @@ void _addReplyProtoToList(client *c, const char *s, size_t len) { listNode *ln = listLast(c->reply); clientReplyBlock *tail = ln? listNodeValue(ln): NULL; - /* Note that 'tail' may be NULL even if we have a tail node, becuase when + /* Note that 'tail' may be NULL even if we have a tail node, because when * addDeferredMultiBulkLength() is used, it sets a dummy node to NULL just * fo fill it later, when the size of the bulk length is set. */ @@ -2875,7 +2875,7 @@ void stopThreadedIO(void) { * we need to handle in parallel, however the I/O threading is disabled * globally for reads as well if we have too little pending clients. * - * The function returns 0 if the I/O threading should be used becuase there + * The function returns 0 if the I/O threading should be used because there * are enough active threads, otherwise 1 is returned and the I/O threads * could be possibly stopped (if already active) as a side effect. */ int stopThreadedIOIfNeeded(void) {