mirror of https://github.com/omar-polo/gmid.git
use a fatalx() rather than abort()
makes up for a nicer error message, and easier troubleshoot.
This commit is contained in:
parent
0965162959
commit
22ce7eb455
2
server.c
2
server.c
|
@ -390,7 +390,7 @@ handle_handshake(int fd, short ev, void *d)
|
||||||
return;
|
return;
|
||||||
default:
|
default:
|
||||||
/* unreachable */
|
/* unreachable */
|
||||||
abort();
|
fatalx("unexpected return value from tls_handshake");
|
||||||
}
|
}
|
||||||
|
|
||||||
c->bev = bufferevent_new(fd, client_read, client_write,
|
c->bev = bufferevent_new(fd, client_read, client_write,
|
||||||
|
|
Loading…
Reference in New Issue