From d784000a1468efc986c7d156d2e7c84d1920af87 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Wed, 3 Dec 2014 00:00:40 +0000 Subject: sws.c: Fixed compilation warning when IPv6 is disabled sws.c:69: warning: comma at end of enumerator list --- tests/server/sws.c | 4 ++-- 1 file 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; -- cgit v1.2.3