Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
httpc: coverity - used another variable in http_client_ssl_shutdown()
  • Loading branch information
perexg committed Oct 3, 2014
1 parent b22085e commit 284f70f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/httpc.c
Expand Up @@ -471,7 +471,7 @@ http_client_ssl_shutdown( http_client_t *hc )
} else if (e == SSL_ERROR_WANT_CONNECT || e == SSL_ERROR_WANT_ACCEPT) {
errno = EBADF;
return -1;
} else if (r == SSL_ERROR_SSL) {
} else if (e == SSL_ERROR_SSL) {
errno = EPERM;
return -1;
} else {
Expand Down

0 comments on commit 284f70f

Please sign in to comment.