s4:ldap_server: add use goto do_reply; to make the logic in ldapsrv_BindSASL() more...
authorStefan Metzmacher <metze@samba.org>
Thu, 11 May 2017 17:04:27 +0000 (19:04 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 15 Jun 2017 07:13:23 +0000 (09:13 +0200)
commitbe8fff9dbcd781f24da7176dac37b7a37d8a7074
treeec94fdc7b3f78e3c5dd0187e2d501ed381442b7e
parentc0fa0b88d033e374cd28730d435b5ed0e6af2ff9
s4:ldap_server: add use goto do_reply; to make the logic in ldapsrv_BindSASL() more sane

The following patches will simplify the logic by avoiding else branches
by using early returns.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/ldap_server/ldap_bind.c