swrap: Always allocate the socket fd array to the maximum
authorAndreas Schneider <asn@samba.org>
Mon, 12 Nov 2018 16:34:08 +0000 (17:34 +0100)
committerAndreas Schneider <asn@samba.org>
Tue, 13 Nov 2018 10:59:41 +0000 (11:59 +0100)
commit74c3a9a60e5cfb8d191876c24e88e5d3aa38ca58
tree7a09b48b6c33180e4d8c5a59b6ae898eee6223b2
parent87cc3f8e5433471e986c3b50e351ae49289b4cbe
swrap: Always allocate the socket fd array to the maximum

This will allow that we can deal with duplicates if the default value is
used.

Pair-Programmed-With: Anoop C S <anoopcs@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
src/socket_wrapper.c