aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
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.