sws.c: Fixed compilation warning when IPv6 is disabled

sws.c:69: warning: comma at end of enumerator list
This commit is contained in:
Steve Holme 2014-12-03 00:00:40 +00:00
parent 2b604eada5
commit d784000a14
1 changed files with 2 additions and 2 deletions

View File

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