diff options
Diffstat (limited to 'tests/server')
-rw-r--r-- | tests/server/sws.c | 7 | ||||
-rw-r--r-- | tests/server/tftpd.c | 7 |
2 files changed, 2 insertions, 12 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c index e60b8d79c..3b4b63d2b 100644 --- a/tests/server/sws.c +++ b/tests/server/sws.c @@ -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); diff --git a/tests/server/tftpd.c b/tests/server/tftpd.c index 221129e33..2ef23f2ad 100644 --- a/tests/server/tftpd.c +++ b/tests/server/tftpd.c @@ -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); |