[SCM] Samba Shared Repository - branch master updated

Matthias Dieter Wallnöfer mdw at samba.org
Tue May 11 08:18:52 MDT 2010


The branch, master has been updated
       via  313add8... s4:torture/rpc/netlogon.c - don't use constant "AF_LOCAL" but do use "AF_UNIX" instead
      from  4fcd544... s3:Makefile: build smbtorture4 as static binary with socket_wrapper support

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 313add8fa944b2df915c1efdd68b0c9e267394fa
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date:   Tue May 11 16:13:45 2010 +0200

    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".

-----------------------------------------------------------------------

Summary of changes:
 source4/torture/rpc/netlogon.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c
index ae6a757..49693ff 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;
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list