From 313add8fa944b2df915c1efdd68b0c9e267394fa Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Tue, 11 May 2010 16:13:45 +0200 Subject: s4:torture/rpc/netlogon.c - don't use constant "AF_LOCAL" but do use "AF_UNIX" instead "AF_LOCAL" isn't portable but has the same value as "AF_UNIX". --- source4/torture/rpc/netlogon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c index ae6a757135..49693ffa84 100644 --- a/source4/torture/rpc/netlogon.c +++ b/source4/torture/rpc/netlogon.c @@ -2509,7 +2509,7 @@ static bool test_netr_DsRAddressToSitenamesW(struct torture_context *tctx, addrs[0].size = 10; addrs[0].buffer[0] = AF_UNSPEC; addrs[1].size = 10; - addrs[1].buffer[0] = AF_LOCAL; + addrs[1].buffer[0] = AF_UNIX; /* AF_LOCAL = AF_UNIX */ addrs[2].size = 10; addrs[2].buffer[0] = AF_UNIX; @@ -2688,7 +2688,7 @@ static bool test_netr_DsRAddressToSitenamesExW(struct torture_context *tctx, addrs[0].size = 10; addrs[0].buffer[0] = AF_UNSPEC; addrs[1].size = 10; - addrs[1].buffer[0] = AF_LOCAL; + addrs[1].buffer[0] = AF_UNIX; /* AF_LOCAL = AF_UNIX */ addrs[2].size = 10; addrs[2].buffer[0] = AF_UNIX; -- cgit