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.
weechat-hashes
C. McEnroe 2020-07-23 14:20:29 -04:00
parent ed7d5c0f34
commit 5873d8b5a7
1 changed files with 1 additions and 2 deletions

3
irc.c
View File

@ -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);
}