From e40b91974aae069aef5c2d2d1e12b4618289646d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 8 Nov 2013 08:53:51 +0100 Subject: sock: add a starting debug message to listen_sock() Signed-off-by: Michael Adam --- src/sock.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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; -- cgit v1.2.3