fix typo
This commit is contained in:
parent
c913be0464
commit
1a746f7c93
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue