diff options
author | Eric Siegel <siegel.eric@gmail.com> | 2014-03-02 00:02:59 -0800 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-12-03 19:30:06 +0100 |
commit | ee17c52e158b9ea1d5eed7ef34a232dff0616dea (patch) | |
tree | fa87098c5d912c3e9b1fe41a8786aabced168125 | |
parent | 526df29f6f90cbbf079155555a6db2c18845852a (diff) | |
download | sds-ee17c52e158b9ea1d5eed7ef34a232dff0616dea.tar.xz |
Fixed variable naming in README for sdscatrepr.
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |