summaryrefslogtreecommitdiff
path: root/sds.c
diff options
context:
space:
mode:
authorJan-Erik Rediger <badboy@archlinux.us>2015-10-27 18:28:34 +0100
committerJan-Erik Rediger <badboy@archlinux.us>2015-10-27 18:28:34 +0100
commitdb1c46dac7f0c54310e05a682cc444b7ae287dcf (patch)
tree94441c9868ccf3680e8c6b92db0d2e06b981c87e /sds.c
parent4b3786d57edb9bfb22a0442536b0b41d9a93eb69 (diff)
parente2f6ee239c9c0cedfccee1db77c95e673fe6fe04 (diff)
Merge pull request #373 from charsyam/feature/typos
fixing typos
Diffstat (limited to 'sds.c')
-rw-r--r--sds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sds.c b/sds.c
index 5d55b77..f01247d 100644
--- a/sds.c
+++ b/sds.c
@@ -293,7 +293,7 @@ sds sdscpy(sds s, const char *t) {
* conversion. 's' must point to a string with room for at least
* SDS_LLSTR_SIZE bytes.
*
- * The function returns the lenght of the null-terminated string
+ * The function returns the length of the null-terminated string
* representation stored at 's'. */
#define SDS_LLSTR_SIZE 21
int sdsll2str(char *s, long long value) {