summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-11 16:13:45 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-11 16:18:28 +0200
commit313add8fa944b2df915c1efdd68b0c9e267394fa (patch)
treeeb809f57826aee1c02dc1c368f4e4366b7cbfcd6 /source4/torture
parent4fcd5446d3cd538cd79ed308c3e60631030fe2cc (diff)
downloadsamba-313add8fa944b2df915c1efdd68b0c9e267394fa.tar.gz
samba-313add8fa944b2df915c1efdd68b0c9e267394fa.tar.bz2
samba-313add8fa944b2df915c1efdd68b0c9e267394fa.zip
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".
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/netlogon.c4
1 files 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;