[SCM] Socket Wrapper Repository - branch master updated

Andreas Schneider asn at samba.org
Wed Mar 2 08:47:26 UTC 2016


The branch, master has been updated
       via  893a95a swrap: Fix buliding on unix systems without AF_NETLINK
      from  1f9ea96 swrap: Use calloc() instead of malloc and memset

https://git.samba.org/?p=socket_wrapper.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 893a95a86485d27e64104e9ffd94f4ab4fa1fffc
Author: Andreas Schneider <asn at samba.org>
Date:   Thu Feb 25 18:01:49 2016 +0100

    swrap: Fix buliding on unix systems without AF_NETLINK
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Ralph Boehme <slow at samba.org>

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

Summary of changes:
 src/socket_wrapper.c | 2 ++
 1 file changed, 2 insertions(+)


Changeset truncated at 500 lines:

diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c
index fc9116b..3b0499d 100644
--- a/src/socket_wrapper.c
+++ b/src/socket_wrapper.c
@@ -2383,7 +2383,9 @@ static int swrap_socket(int family, int type, int protocol)
 	case AF_INET6:
 #endif
 		break;
+#ifdef AF_NETLINK
 	case AF_NETLINK:
+#endif /* AF_NETLINK */
 	case AF_UNIX:
 		return libc_socket(family, type, protocol);
 	default:


-- 
Socket Wrapper Repository



More information about the samba-cvs mailing list