From ee17c52e158b9ea1d5eed7ef34a232dff0616dea Mon Sep 17 00:00:00 2001 From: Eric Siegel Date: Sun, 2 Mar 2014 00:02:59 -0800 Subject: Fixed variable naming in README for sdscatrepr. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5bded1a..058fafd 100644 --- a/README.md +++ b/README.md @@ -523,9 +523,9 @@ or binary data. The following is an example usage: ```c sds s1 = sdsnew("abcd"); sds s2 = sdsempty(); -s[1] = 1; -s[2] = 2; -s[3] = '\n'; +s1[1] = 1; +s1[2] = 2; +s1[3] = '\n'; s2 = sdscatrepr(s2,s1,sdslen(s1)); printf("%s\n", s2); -- cgit v1.2.3-70-g09d2