summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Stancliff <matt@genges.com>2015-01-05 16:27:52 -0500
committerMatt Stancliff <matt@genges.com>2015-01-05 16:53:23 -0500
commitf28872ca704ea162d970251ad20d1a0752506cfc (patch)
tree4e552579139d9fc2bb1c54cea475dce166c18726
parentdad05164231338092cdcbebf266f7101f53bc164 (diff)
Cleanup tabs and end of line whitespace
-rw-r--r--hiredis.c8
-rw-r--r--sds.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/hiredis.c b/hiredis.c
index 4b4c11a..0297361 100644
--- a/hiredis.c
+++ b/hiredis.c
@@ -620,10 +620,10 @@ void redisFree(redisContext *c) {
}
int redisFreeKeepFd(redisContext *c) {
- int fd = c->fd;
- c->fd = -1;
- redisFree(c);
- return fd;
+ int fd = c->fd;
+ c->fd = -1;
+ redisFree(c);
+ return fd;
}
/* Connect to a Redis instance. On error the field error in the returned
diff --git a/sds.c b/sds.c
index 9d83636..72d623e 100644
--- a/sds.c
+++ b/sds.c
@@ -123,7 +123,7 @@ void sdsclear(sds s) {
/* 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
* 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
* by sdslen(), but only the free buffer space we have. */
sds sdsMakeRoomFor(sds s, size_t addlen) {