summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/sock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sock.c b/src/sock.c
index 17f15fe..d0151c4 100644
--- a/src/sock.c
+++ b/src/sock.c
@@ -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;