1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

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".
This commit is contained in:
Matthias Dieter Wallnöfer 2010-05-11 16:13:45 +02:00
parent 4fcd5446d3
commit 313add8fa9

View File

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