r11225: Remove pointless goto.
authorAndrew Bartlett <abartlet@samba.org>
Thu, 20 Oct 2005 13:10:20 +0000 (13:10 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:45:05 +0000 (13:45 -0500)
Andrew Bartlett
(This used to be commit 30f4ece4d2e55d2d50061f74a491d3f77551a6ae)

source4/ldap_server/ldap_bind.c

index 7a296d01ac1b54b6c0a32e7b18c4b2f46e47e967..65258402329e92f6fcd54476945134a07a393a82 100644 (file)
@@ -100,11 +100,9 @@ static NTSTATUS ldapsrv_BindSASL(struct ldapsrv_call *call)
                if (!NT_STATUS_IS_OK(status)) {
                        DEBUG(1, ("Failed to start GENSEC SASL[%s] server code: %s\n", 
                                req->creds.SASL.mechanism, nt_errstr(status)));
-                       goto reply;
                }
        }
 
-reply:
        reply = ldapsrv_init_reply(call, LDAP_TAG_BindResponse);
        if (!reply) {
                return NT_STATUS_NO_MEMORY;