swrap: Add paranoia NULL checks
authorAndreas Schneider <asn@samba.org>
Fri, 15 Mar 2019 13:59:14 +0000 (14:59 +0100)
committerAndreas Schneider <asn@samba.org>
Thu, 21 Mar 2019 07:42:57 +0000 (08:42 +0100)
commitbd951c1f6944011bb5585cb58c92ca5cd5b78489
tree5171b2b822ee2f55ad3c034e2367066d911965ae
parent6e1ed1da3f4372b7de69c5f8be227d85727b2b59
swrap: Add paranoia NULL checks

csbuild complains about missing NULL checks here.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
src/socket_wrapper.c