1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

s4:ldap_server: remove useless NT_STATUS_IS_OK(status) check

We checked a few lines above already, check with:
git show -U10

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Stefan Metzmacher 2017-05-12 12:31:25 +02:00 committed by Andrew Bartlett
parent 126fd7e45d
commit 489bc70c43

View File

@ -540,7 +540,7 @@ static NTSTATUS ldapsrv_BindSASL(struct ldapsrv_call *call)
goto do_reply;
}
if (NT_STATUS_IS_OK(status) && context) {
if (context != NULL) {
call->postprocess_send = ldapsrv_sasl_postprocess_send;
call->postprocess_recv = ldapsrv_sasl_postprocess_recv;
call->postprocess_private = context;