From 2a45d226587e1fc456e8213a897ee5369c0d072c Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 6 Feb 2014 16:41:16 +0100 Subject: README: fixed sdscatprintf() example. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c0ea8da..47d12b0 100644 --- a/README.md +++ b/README.md @@ -267,7 +267,7 @@ Example: sds s; int a = 10, b = 20; - s = sdsempty("The sum is: "); + s = sdsnew("The sum is: "); s = sdscatprintf(s,"%d+%d = %d",a,b,a+b); Often you need to create SDS string directly from printf format specifiers. -- cgit v1.2.3-70-g09d2