1
0
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:
Yang Tse 2008-09-21 02:35:20 +00:00
parent 6abbbaad1b
commit b6f29bef06
2 changed files with 2 additions and 12 deletions

View File

@ -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);

View File

@ -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);