This commit is contained in:
左懶
2017-05-27 15:33:04 +08:00
committed by GitHub
parent e91b81c612
commit c961896f70

View File

@@ -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);
}
/* Unlike snprintf(), teturn the number of characters actually written. */
/* Unlike snprintf(), return the number of characters actually written. */
if (bufsize) buf[bufsize-1] = '\0';
return strlen(buf);
}