From 7017546137cc6a7adc011bccd5bc181056c2e35e Mon Sep 17 00:00:00 2001 From: Nils Durner Date: Wed, 2 Feb 2011 21:38:50 +0000 Subject: [PATCH] no AF_UNIX on Windows --- src/util/service.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/service.c b/src/util/service.c index 0594149d9..767e8063d 100644 --- a/src/util/service.c +++ b/src/util/service.c @@ -629,6 +629,7 @@ check_access (void *cls, && ((sctx->v6_denied == NULL) || (!check_ipv6_listed (sctx->v6_denied, &i6->sin6_addr))); break; +#ifndef WINDOWS case AF_UNIX: ret = GNUNET_OK; /* always OK for now */ if ( (sctx->match_uid == GNUNET_YES) || @@ -648,6 +649,7 @@ check_access (void *cls, (uc == NULL) ? -1 : uc->uid, (uc == NULL) ? -1 : uc->gid); break; +#endif default: GNUNET_log (GNUNET_ERROR_TYPE_WARNING, _("Unknown address family %d\n"), addr->sa_family); -- 2.25.1