Commit 2b115d56 authored by michael-grunder's avatar michael-grunder
Browse files

Whitespace

parent 1343988c
...@@ -399,7 +399,7 @@ void appOnDisconnect(redisAsyncContext *c, int status) ...@@ -399,7 +399,7 @@ void appOnDisconnect(redisAsyncContext *c, int status)
appData->err = c->err; appData->err = c->err;
appData->context = NULL; /* avoid stale pointer when callback returns */ appData->context = NULL; /* avoid stale pointer when callback returns */
if (status == REDIS_OK) { if (status == REDIS_OK) {
appNotifyDisconnectCompleted(mydata); appNotifyDisconnectCompleted(mydata);
} else { } else {
appNotifyUnexpectedDisconnect(mydata); appNotifyUnexpectedDisconnect(mydata);
appAttemptReconnect(); appAttemptReconnect();
...@@ -624,9 +624,9 @@ ssl_context = redisCreateSSLContext( ...@@ -624,9 +624,9 @@ ssl_context = redisCreateSSLContext(
if(ssl_context == NULL || ssl_error != 0) { if(ssl_context == NULL || ssl_error != 0) {
/* Handle error and abort... */ /* Handle error and abort... */
/* e.g. /* e.g.
printf("SSL error: %s\n", printf("SSL error: %s\n",
(ssl_error != 0) ? (ssl_error != 0) ?
redisSSLContextGetError(ssl_error) : "Unknown error"); redisSSLContextGetError(ssl_error) : "Unknown error");
// Abort // Abort
*/ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment