summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2022-06-26 14:42:31 -0700
committermichael-grunder <michael.grunder@gmail.com>2022-06-26 14:42:31 -0700
commit2b115d56cd96e525dc169496853819f16099539e (patch)
tree1306efcf389c3c5543c446964903d31054702942 /README.md
parent1343988cee4b774d19864be9c9134fbaf6daf09b (diff)
Whitespace
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index c0cd902..3907add 100644
--- a/README.md
+++ b/README.md
@@ -399,7 +399,7 @@ void appOnDisconnect(redisAsyncContext *c, int status)
appData->err = c->err;
appData->context = NULL; /* avoid stale pointer when callback returns */
if (status == REDIS_OK) {
- appNotifyDisconnectCompleted(mydata);
+ appNotifyDisconnectCompleted(mydata);
} else {
appNotifyUnexpectedDisconnect(mydata);
appAttemptReconnect();
@@ -624,9 +624,9 @@ ssl_context = redisCreateSSLContext(
if(ssl_context == NULL || ssl_error != 0) {
/* Handle error and abort... */
- /* e.g.
- printf("SSL error: %s\n",
- (ssl_error != 0) ?
+ /* e.g.
+ printf("SSL error: %s\n",
+ (ssl_error != 0) ?
redisSSLContextGetError(ssl_error) : "Unknown error");
// Abort
*/