tsocket: only copy the specific part of sockaddr*
authorStefan Metzmacher <metze@samba.org>
Wed, 23 Dec 2009 18:34:32 +0000 (19:34 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 24 Dec 2009 16:38:29 +0000 (17:38 +0100)
commit17c804a67593cdb4d8646b5be6b50fddf56b3e27
tree9556c9d685357415e1473626765f2f3388ccce58
parent4784c8c3bea98592486ca973d57c99671eb68cb2
tsocket: only copy the specific part of sockaddr*

This makes sure we fill the unspefic bytes with 0
and have zero termination for sockaddr_un.

metze
lib/tsocket/tsocket_bsd.c