r3079: make code more pretty :-)
authorAndrew Bartlett <abartlet@samba.org>
Wed, 20 Oct 2004 02:14:28 +0000 (02:14 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:01:56 +0000 (13:01 -0500)
Andrew Bartlett
(This used to be commit 9c911b361c4dbb058eb48150c113c2e95b8053da)

source4/libcli/ldap/ldap.c
source4/torture/ldap/common.c

index 7e12f42f06f56e874926377244b723ba10e7a6b0..6e182c38432efe6c8ad7a1b517daab0dba5fecfa 100644 (file)
@@ -1535,7 +1535,7 @@ int ldap_bind_sasl(struct ldap_connection *conn, const char *username, const cha
                return result;
        }
 
-       gensec_want_feature(conn->gensec, GENSEC_WANT_SIGN|GENSEC_WANT_SEAL);
+       gensec_want_feature(conn->gensec, GENSEC_WANT_SIGN | GENSEC_WANT_SEAL);
 
        status = gensec_set_domain(conn->gensec, domain);
        if (!NT_STATUS_IS_OK(status)) {
index 48e81b42fb60e3173ed6c5613597cf287d104d37..7051403abbf77b684210d2e14c544fac2899861f 100644 (file)
@@ -120,10 +120,10 @@ BOOL ldap_sasl_send_msg(struct ldap_connection *conn, struct ldap_message *msg,
                return False;
 
        status = gensec_seal_packet(conn->gensec, 
-                                           msg->mem_ctx, 
-                                           request.data, request.length,
-                                           request.data, request.length,
-                                           &creds);
+                                   msg->mem_ctx, 
+                                   request.data, request.length,
+                                   request.data, request.length,
+                                   &creds);
        if (!NT_STATUS_IS_OK(status)) {
                DEBUG(0,("gensec_seal_packet: %s\n",nt_errstr(status)));
                return False;