Fix function parameters.
authorJelmer Vernooij <jelmer@samba.org>
Thu, 23 Oct 2008 20:10:08 +0000 (22:10 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 23 Oct 2008 20:10:08 +0000 (22:10 +0200)
source4/libcli/ldap/ldap_client.c

index a59356761b440658d1506b34388b0f69c48c351f..7f43e16c9533dbf69346ac09b5c024620cd6c015 100644 (file)
@@ -401,7 +401,7 @@ static void ldap_connect_got_sock(struct composite_context *ctx,
        if (conn->ldaps) {
                struct socket_context *tls_socket;
                struct socket_context *tmp_socket;
-               char *cafile = private_path(conn->sock, conn->lp_ctx, lp_tls_cafile(conn->lp_ctx));
+               char *cafile = lp_tls_cafile(conn->sock, conn->lp_ctx);
 
                if (!cafile || !*cafile) {
                        talloc_free(conn->sock);