mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-11 21:34:53 -04:00
Change an err to a warn in bufferevent_openssl
svn:r1523
This commit is contained in:
parent
37e23f806b
commit
26573d3de3
@ -499,8 +499,9 @@ conn_closed(struct bufferevent_openssl *bev_ssl, int errcode, int ret)
|
||||
case SSL_ERROR_WANT_CONNECT:
|
||||
case SSL_ERROR_WANT_ACCEPT:
|
||||
default:
|
||||
/* should be impossible */
|
||||
event_errx(1, "Unexpected OpenSSL error code %d", errcode);
|
||||
/* should be impossible; treat as normal error. */
|
||||
event_warnx("BUG: Unexpected OpenSSL error code %d", errcode);
|
||||
break;
|
||||
}
|
||||
|
||||
while ((err = ERR_get_error())) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user