mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
fix typo
This commit is contained in:
parent
6c60526db9
commit
42b36c5ce9
@ -71,7 +71,7 @@ sds sdsempty(void) {
|
|||||||
return sdsnewlen("",0);
|
return sdsnewlen("",0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Create a new sds string starting from a null termined C string. */
|
/* Create a new sds string starting from a null terminated C string. */
|
||||||
sds sdsnew(const char *init) {
|
sds sdsnew(const char *init) {
|
||||||
size_t initlen = (init == NULL) ? 0 : strlen(init);
|
size_t initlen = (init == NULL) ? 0 : strlen(init);
|
||||||
return sdsnewlen(init, initlen);
|
return sdsnewlen(init, initlen);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user