Use sdscatfmt() in getClientInfoString() to make it faster.

This commit is contained in:
antirez
2014-04-28 16:41:38 +02:00
parent 2d76736a2e
commit f9a4a80f49
2 changed files with 10 additions and 9 deletions

View File

@ -76,6 +76,7 @@ sds sdscatprintf(sds s, const char *fmt, ...)
sds sdscatprintf(sds s, const char *fmt, ...);
#endif
sds sdscatfmt(sds s, char const *fmt, ...);
sds sdstrim(sds s, const char *cset);
void sdsrange(sds s, int start, int end);
void sdsupdatelen(sds s);