swrap: Rearrange swrap_remove_stale
authorAnoop C S <anoopcs@redhat.com>
Thu, 13 Jul 2017 09:43:07 +0000 (15:13 +0530)
committerAndreas Schneider <asn@samba.org>
Wed, 2 May 2018 12:23:34 +0000 (14:23 +0200)
commit501b5f3e6444117dab213f8a3dfdda0a860ecde9
tree5bd67380ffadddc92b7ede0121f25202314c41d7
parent64c848748077f31a95b5338d8d6e92050b43e0fc
swrap: Rearrange swrap_remove_stale

In preparation to implement thread safety, re-ordering lines
of code to properly align to lockign calls

Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
src/socket_wrapper.c