Cleanup tabs and end of line whitespace

This commit is contained in:
Matt Stancliff 2015-01-05 16:27:52 -05:00
parent dad0516423
commit f28872ca70
2 changed files with 5 additions and 5 deletions

View File

@ -620,10 +620,10 @@ void redisFree(redisContext *c) {
} }
int redisFreeKeepFd(redisContext *c) { int redisFreeKeepFd(redisContext *c) {
int fd = c->fd; int fd = c->fd;
c->fd = -1; c->fd = -1;
redisFree(c); redisFree(c);
return fd; return fd;
} }
/* Connect to a Redis instance. On error the field error in the returned /* Connect to a Redis instance. On error the field error in the returned

2
sds.c
View File

@ -123,7 +123,7 @@ void sdsclear(sds s) {
/* Enlarge the free space at the end of the sds string so that the caller /* Enlarge the free space at the end of the sds string so that the caller
* is sure that after calling this function can overwrite up to addlen * is sure that after calling this function can overwrite up to addlen
* bytes after the end of the string, plus one more byte for nul term. * bytes after the end of the string, plus one more byte for nul term.
* *
* Note: this does not change the *length* of the sds string as returned * Note: this does not change the *length* of the sds string as returned
* by sdslen(), but only the free buffer space we have. */ * by sdslen(), but only the free buffer space we have. */
sds sdsMakeRoomFor(sds s, size_t addlen) { sds sdsMakeRoomFor(sds s, size_t addlen) {