mirror of https://github.com/redis/redis.git
fix a typo
This commit is contained in:
parent
2bf8c2c130
commit
e600ef2c92
|
@ -1083,7 +1083,7 @@ size_t _dictGetStatsHt(char *buf, size_t bufsize, dictht *ht, int tableid) {
|
||||||
i, clvector[i], ((float)clvector[i]/ht->size)*100);
|
i, clvector[i], ((float)clvector[i]/ht->size)*100);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Unlike snprintf(), teturn the number of characters actually written. */
|
/* Unlike snprintf(), return the number of characters actually written. */
|
||||||
if (bufsize) buf[bufsize-1] = '\0';
|
if (bufsize) buf[bufsize-1] = '\0';
|
||||||
return strlen(buf);
|
return strlen(buf);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue