Skip to content
Snippets Groups Projects
Commit 3bcfe678 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

display listening port in log

parent d5403f3a
No related branches found
No related tags found
No related merge requests found
......@@ -843,13 +843,13 @@ int main(int argc, char *argv[])
else
fprintf(stderr, "Couldn't write pid file\n");
logmsg("Running IPv%d version",
logmsg("Running IPv%d version on port %d",
#ifdef ENABLE_IPV6
(use_ipv6?6:4)
#else
4
#endif
);
, port );
/* start accepting connections */
listen(sock, 5);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment