[PATCH] Fix phat fingering in rlm_ldap.c

Alexander Clouter alex at digriz.org.uk
Mon Nov 30 16:11:58 CET 2009


Fix phat fingering in 3d63215138cbe66dc5e656fec00e836a3b0e3262 that
prevented src/modules/rlm_ldap/rlm_ldap.c from compiling.

Signed-off-by: Alexander Clouter <alex at digriz.org.uk>
---
 src/modules/rlm_ldap/rlm_ldap.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/rlm_ldap/rlm_ldap.c b/src/modules/rlm_ldap/rlm_ldap.c
index fa1416f..e7cd600 100644
--- a/src/modules/rlm_ldap/rlm_ldap.c
+++ b/src/modules/rlm_ldap/rlm_ldap.c
@@ -2322,9 +2322,9 @@ static LDAP *ldap_connect(void *instance, const char *dn, const char *password,
 	if (ldap_int_tls_config(NULL, LDAP_OPT_X_TLS_REQUIRE_CERT,
 				(inst->tls_require_cert)) != LDAP_OPT_SUCCESS) {
 		ldap_get_option(ld, LDAP_OPT_ERROR_NUMBER, &ldap_errno);
-		radlog(L_ERR, "  [%s] could not set ", inst->xlat_name
+		radlog(L_ERR, "  [%s] could not set "
 		       "LDAP_OPT_X_TLS_REQUIRE_CERT option to %s: %s",
-		       inst->tls_require_cert,
+		       inst->xlat_name, inst->tls_require_cert,
 		       ldap_err2string(ldap_errno));
 	}
 #endif
-- 
1.5.6.5




More information about the Freeradius-Devel mailing list