use a fatalx() rather than abort()

makes up for a nicer error message, and easier troubleshoot.
This commit is contained in:
Omar Polo 2024-06-10 10:25:54 +00:00
parent 0965162959
commit 22ce7eb455
1 changed files with 1 additions and 1 deletions

View File

@ -390,7 +390,7 @@ handle_handshake(int fd, short ev, void *d)
return;
default:
/* unreachable */
abort();
fatalx("unexpected return value from tls_handshake");
}
c->bev = bufferevent_new(fd, client_read, client_write,