aboutsummaryrefslogtreecommitdiff
path: root/tests/server
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-03 00:00:40 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-03 00:01:49 +0000
commitd784000a1468efc986c7d156d2e7c84d1920af87 (patch)
treead26609dd8f29c02177514020ff735378bec03dd /tests/server
parent2b604eada534bc4aca4d4d24fc8847b61d399461 (diff)
sws.c: Fixed compilation warning when IPv6 is disabled
sws.c:69: warning: comma at end of enumerator list
Diffstat (limited to 'tests/server')
-rw-r--r--tests/server/sws.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c
index e69d5aac0..400d5d98d 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -66,9 +66,9 @@
#endif
static enum {
- socket_domain_inet = AF_INET,
+ socket_domain_inet = AF_INET
#ifdef ENABLE_IPV6
- socket_domain_inet6 = AF_INET6
+ , socket_domain_inet6 = AF_INET6
#endif
} socket_domain = AF_INET;
static bool use_gopher = FALSE;