swrap: Rename global variable for max sockets
authorAndreas Schneider <asn@samba.org>
Mon, 12 Nov 2018 16:00:09 +0000 (17:00 +0100)
committerAndreas Schneider <asn@samba.org>
Tue, 13 Nov 2018 10:59:36 +0000 (11:59 +0100)
commit87cc3f8e5433471e986c3b50e351ae49289b4cbe
tree8037985745776c2018165eedb5dcfde2d5ea7cdd
parentd788cef44dc998ce51aeb9637145bf1d1cd58a9b
swrap: Rename global variable for max sockets

We also need a mutex to protect access to it.

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