summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-23 22:10:08 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-23 22:10:08 +0200
commit8baf1695492300fd8c2ce7e4f106a14f510357e5 (patch)
tree9119d2c2326cc7066a3ada3c30e8fc2a4cd2150b
parentf18296151d1d8774b861ef6bd751b48ef9ee2f92 (diff)
downloadsamba-8baf1695492300fd8c2ce7e4f106a14f510357e5.tar.gz
samba-8baf1695492300fd8c2ce7e4f106a14f510357e5.tar.bz2
samba-8baf1695492300fd8c2ce7e4f106a14f510357e5.zip
Fix function parameters.
-rw-r--r--source4/libcli/ldap/ldap_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/ldap/ldap_client.c b/source4/libcli/ldap/ldap_client.c
index a59356761b..7f43e16c95 100644
--- a/source4/libcli/ldap/ldap_client.c
+++ b/source4/libcli/ldap/ldap_client.c
@@ -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);