tsocket_bsd: Always use a real length for the sa_socklen, and keep it around
authorAndrew Bartlett <abartlet@samba.org>
Wed, 7 Apr 2010 00:42:37 +0000 (10:42 +1000)
committerStefan Metzmacher <metze@samba.org>
Thu, 8 Apr 2010 06:34:40 +0000 (08:34 +0200)
commitf1aa4c34bf0bd7d42627024af333963b741babea
tree17f867527a02c1857a124f0abc9479facad22bba
parent0922c5ab2da1106fdb9a750c2d71d0cd04146394
tsocket_bsd: Always use a real length for the sa_socklen, and keep it around

The previous code assumed the OS would happily accept sizeof(struct
sockaddr_storage).  It seems some versions of Solaris do not like
this.

Andrew Bartlett
lib/tsocket/tsocket_bsd.c