aboutsummaryrefslogtreecommitdiff
path: root/tests/server/tftpd.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-21 02:35:20 +0000
committerYang Tse <yangsita@gmail.com>2008-09-21 02:35:20 +0000
commitb6f29bef06035e53d2561a3cb72db10479db4303 (patch)
tree742dc4ddf8f7054870db0951b1300bc17040ec01 /tests/server/tftpd.c
parent6abbbaad1b0338b064b133ac0aa5ad9c75ad52ad (diff)
fix compiler warning: defined but not used
Diffstat (limited to 'tests/server/tftpd.c')
-rw-r--r--tests/server/tftpd.c7
1 files changed, 1 insertions, 6 deletions
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);