Remove tls_close error handling
It seems that sometimes tls_close returns non-zero but tls_error returns a null string... We're exiting anyway, so just ignore it.
This commit is contained in:
parent
ed7d5c0f34
commit
5873d8b5a7
3
irc.c
3
irc.c
@ -289,7 +289,6 @@ void ircRecv(void) {
|
||||
}
|
||||
|
||||
void ircClose(void) {
|
||||
int error = tls_close(client);
|
||||
if (error) errx(EX_IOERR, "tls_close: %s", tls_error(client));
|
||||
tls_close(client);
|
||||
tls_free(client);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user