sock: add a starting debug message to listen_sock()
Signed-off-by: Michael Adam <obnox@samba.org>
This commit is contained in:
parent
22587d3d41
commit
e40b91974a
@ -254,6 +254,9 @@ int listen_sock (const char *addr, uint16_t port, vector_t listen_fds)
|
||||
assert (port > 0);
|
||||
assert (listen_fds != NULL);
|
||||
|
||||
log_message(LOG_INFO, "listen_sock called with addr = '%s'",
|
||||
addr == NULL ? "(NULL)" : addr);
|
||||
|
||||
memset (&hints, 0, sizeof (struct addrinfo));
|
||||
hints.ai_family = AF_UNSPEC;
|
||||
hints.ai_socktype = SOCK_STREAM;
|
||||
|
Loading…
Reference in New Issue
Block a user