mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
fix compiler warning: defined but not used
This commit is contained in:
parent
6abbbaad1b
commit
b6f29bef06
@ -987,12 +987,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
logmsg("Running IPv%d version on port %hu",
|
||||
#ifdef ENABLE_IPV6
|
||||
(use_ipv6?6:4)
|
||||
#else
|
||||
4
|
||||
#endif
|
||||
, port );
|
||||
(use_ipv6?6:4), port);
|
||||
|
||||
/* start accepting connections */
|
||||
rc = listen(sock, 5);
|
||||
|
@ -516,12 +516,7 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
logmsg("Running IPv%d version on port UDP/%hu",
|
||||
#ifdef ENABLE_IPV6
|
||||
(use_ipv6?6:4)
|
||||
#else
|
||||
4
|
||||
#endif
|
||||
, port );
|
||||
(use_ipv6?6:4), port);
|
||||
|
||||
do {
|
||||
fromlen = sizeof(from);
|
||||
|
Loading…
Reference in New Issue
Block a user