mirror of
https://github.com/curl/curl.git
synced 2026-05-17 13:06:20 +03:00
display listening port in log
This commit is contained in:
parent
d5403f3a5b
commit
3bcfe678ab
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue