Removed whitespace before newline
- Removed whitespace before newline - Removed win style newline
This commit is contained in:
parent
f5f855c912
commit
a1d4da63b8
@ -406,6 +406,6 @@ as soon as possible in order to prevent allocation of useless memory.
|
|||||||
## AUTHORS
|
## AUTHORS
|
||||||
|
|
||||||
Hiredis was written by Salvatore Sanfilippo (antirez at gmail) and
|
Hiredis was written by Salvatore Sanfilippo (antirez at gmail) and
|
||||||
Pieter Noordhuis (pcnoordhuis at gmail) and is released under the BSD license.
|
Pieter Noordhuis (pcnoordhuis at gmail) and is released under the BSD license.
|
||||||
Hiredis is currently maintained by Matt Stancliff (matt at genges dot com) and
|
Hiredis is currently maintained by Matt Stancliff (matt at genges dot com) and
|
||||||
Jan-Erik Rediger (janerik at fnordig dot com)
|
Jan-Erik Rediger (janerik at fnordig dot com)
|
||||||
|
|||||||
8
async.c
8
async.c
@ -34,8 +34,8 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
#else
|
#else
|
||||||
#define strcasecmp stricmp
|
#define strcasecmp stricmp
|
||||||
#define strncasecmp strnicmp
|
#define strncasecmp strnicmp
|
||||||
#endif
|
#endif
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
@ -438,7 +438,7 @@ static int __redisGetSubscribeCallback(redisAsyncContext *ac, redisReply *reply,
|
|||||||
assert(reply->element[2]->type == REDIS_REPLY_INTEGER);
|
assert(reply->element[2]->type == REDIS_REPLY_INTEGER);
|
||||||
|
|
||||||
/* Unset subscribed flag only when no pipelined pending subscribe. */
|
/* 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.channels) == 0
|
||||||
&& dictSize(ac->sub.patterns) == 0)
|
&& dictSize(ac->sub.patterns) == 0)
|
||||||
c->flags &= ~REDIS_SUBSCRIBED;
|
c->flags &= ~REDIS_SUBSCRIBED;
|
||||||
@ -557,7 +557,7 @@ static int __redisAsyncHandleConnect(redisAsyncContext *ac) {
|
|||||||
/**
|
/**
|
||||||
* Handle SSL when socket becomes available for reading. This also handles
|
* Handle SSL when socket becomes available for reading. This also handles
|
||||||
* read-while-write and write-while-read.
|
* read-while-write and write-while-read.
|
||||||
*
|
*
|
||||||
* These functions will not work properly unless `HIREDIS_SSL` is defined
|
* These functions will not work properly unless `HIREDIS_SSL` is defined
|
||||||
* (however, they will compile)
|
* (however, they will compile)
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user