diff options
author | Omar Polo <op@omarpolo.com> | 2024-06-10 10:25:54 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2024-06-10 10:25:54 +0000 |
commit | 22ce7eb4557cf6a9ed3551531908880bd83f3001 (patch) | |
tree | f57190191748dcdc833cd5e4a8b16ad5acc2ed2b /server.c | |
parent | 09651629594e0b367414cf5bcb0c5820c3b904f8 (diff) |
use a fatalx() rather than abort()
makes up for a nicer error message, and easier troubleshoot.
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |