Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
2b115d56
Commit
2b115d56
authored
Jun 26, 2022
by
michael-grunder
Browse files
Whitespace
parent
1343988c
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
2b115d56
...
...
@@ -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
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment