1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source4/lib/socket
Volker Lendecke 07d12d2c71 lib: Fix a pointless error check
According to susv4, addr.s6_addr is a

uint8_t s6_addr[16]

which is always != 0

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2016-08-05 22:20:05 +02:00
..
access.c Update mailing list references to point at lists.samba.org 2015-02-10 07:08:28 +01:00
connect_multi.c s4:lib/socket: add socket_connect_multi_ex_* 2011-11-30 13:41:08 +01:00
connect.c s4:lib: use tevent_ fns names instead of legcay event_ ones 2011-08-13 09:54:16 -04:00
interface.c dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01:00
netif.h lib/socket move interfaces code to the top level 2011-05-08 12:57:04 +02:00
socket_ip.c lib: Fix a pointless error check 2016-08-05 22:20:05 +02:00
socket_unix.c s4-lib/socket: Allocate a the larger sockaddr_un and not just a sockaddr_in in unixdom_get_my_addr() 2013-07-24 14:37:43 +02:00
socket.c s4-socket: do not segfault if the socket is NULL 2011-11-01 19:02:52 +01:00
socket.h s4:lib/socket: add socket_connect_multi_ex_* 2011-11-30 13:41:08 +01:00
testsuite.c s4:lib/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:44 +02:00
wscript_build Rename 'errors' to 'samba-errors' and make it public. 2016-01-13 07:47:04 +01:00