summaryrefslogtreecommitdiff
path: root/async.c
diff options
context:
space:
mode:
authorMark Nunberg <mnunberg@users.noreply.github.com>2019-08-09 03:39:39 -0400
committerGitHub <noreply@github.com>2019-08-09 03:39:39 -0400
commitc259f9059dd00c3c55170174b4b1feeac4a994c1 (patch)
tree2610debc5e6fe41b5466c490f957e3f035d835b4 /async.c
parentf5f855c91239706b173e2412cea301f4a3643e2d (diff)
parenta1d4da63b87be5b99c96879105e47e8f3b83bd06 (diff)
Merge pull request #691 from Miniwoffer/master
Removed whitespace before newline
Diffstat (limited to 'async.c')
-rw-r--r--async.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/async.c b/async.c
index 50eb2d9..171fabd 100644
--- a/async.c
+++ b/async.c
@@ -34,8 +34,8 @@
#include <string.h>
#ifndef _WIN32
#include <strings.h>
-#else
-#define strcasecmp stricmp
+#else
+#define strcasecmp stricmp
#define strncasecmp strnicmp
#endif
#include <assert.h>
@@ -438,7 +438,7 @@ static int __redisGetSubscribeCallback(redisAsyncContext *ac, redisReply *reply,
assert(reply->element[2]->type == REDIS_REPLY_INTEGER);
/* Unset subscribed flag only when no pipelined pending subscribe. */
- if (reply->element[2]->integer == 0
+ if (reply->element[2]->integer == 0
&& dictSize(ac->sub.channels) == 0
&& dictSize(ac->sub.patterns) == 0)
c->flags &= ~REDIS_SUBSCRIBED;
@@ -557,7 +557,7 @@ static int __redisAsyncHandleConnect(redisAsyncContext *ac) {
/**
* Handle SSL when socket becomes available for reading. This also handles
* read-while-write and write-while-read.
- *
+ *
* These functions will not work properly unless `HIREDIS_SSL` is defined
* (however, they will compile)
*/