diff options
Diffstat (limited to 'src/sds.c')
-rw-r--r-- | src/sds.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -405,7 +405,7 @@ sds sdscatlen(sds s, const void *t, size_t len) { return s; } -/* Append the specified null termianted C string to the sds string 's'. +/* Append the specified null terminated C string to the sds string 's'. * * After the call, the passed sds string is no longer valid and all the * references must be substituted with the new pointer returned by the call. */ @@ -453,7 +453,7 @@ int sdsll2str(char *s, long long value) { size_t l; /* Generate the string representation, this method produces - * an reversed string. */ + * a reversed string. */ v = (value < 0) ? -value : value; p = s; do { @@ -484,7 +484,7 @@ int sdsull2str(char *s, unsigned long long v) { size_t l; /* Generate the string representation, this method produces - * an reversed string. */ + * a reversed string. */ p = s; do { *p++ = '0'+(v%10); |