forked from Ocean/datum_gateway
Bugfix: sockets: Correct error message when socket() fails
This commit is contained in:
parent
d7b7f78b6e
commit
8df1c4fa5b
@ -579,7 +579,7 @@ void *datum_gateway_listener_thread(void *arg) {
|
||||
|
||||
listen_sock = socket(AF_INET, SOCK_STREAM, 0);
|
||||
if (-1 == listen_sock) {
|
||||
DLOG_FATAL("Could get socket: %s", strerror(errno));
|
||||
DLOG_FATAL("Could not create listening socket: %s", strerror(errno));
|
||||
panic_from_thread(__LINE__);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user