1
0
mirror of https://github.com/fluencelabs/redis synced 2025-04-02 15:51:05 +00:00

Merge pull request from codeeply/simplify2

comment mistake fixed
This commit is contained in:
Salvatore Sanfilippo 2013-12-12 02:23:44 -08:00
commit a99c751d6c

@ -383,7 +383,7 @@ sds sdstrim(sds s, const char *cset) {
* Example: * Example:
* *
* s = sdsnew("Hello World"); * s = sdsnew("Hello World");
* sdstrim(s,1,-1); => "ello Worl" * sdsrange(s,1,-1); => "ello World"
*/ */
void sdsrange(sds s, int start, int end) { void sdsrange(sds s, int start, int end) {
struct sdshdr *sh = (void*) (s-(sizeof(struct sdshdr))); struct sdshdr *sh = (void*) (s-(sizeof(struct sdshdr)));