From 29a778c8f17c370f90029b9214801c44f7a1f05c Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 13 Nov 2017 12:02:29 -0500 Subject: [PATCH] fix indentation --- citadel/user_ops.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/citadel/user_ops.c b/citadel/user_ops.c index 82f693a4e..fe8300927 100644 --- a/citadel/user_ops.c +++ b/citadel/user_ops.c @@ -654,14 +654,14 @@ void do_login(void) * If we are using LDAP authentication, extract the user's email addresses from the directory. * FIXME make this a site configurable setting */ - #ifdef HAVE_LDAP - if ((CtdlGetConfigInt("c_auth_mode") == AUTHMODE_LDAP) || (CtdlGetConfigInt("c_auth_mode") == AUTHMODE_LDAP_AD)) { - char new_emailaddrs[512]; - if (extract_email_addresses_from_ldap(CCC->ldap_dn, new_emailaddrs) == 0) { - strcpy(CCC->user.emailaddrs, new_emailaddrs); - } +#ifdef HAVE_LDAP + if ((CtdlGetConfigInt("c_auth_mode") == AUTHMODE_LDAP) || (CtdlGetConfigInt("c_auth_mode") == AUTHMODE_LDAP_AD)) { + char new_emailaddrs[512]; + if (extract_email_addresses_from_ldap(CCC->ldap_dn, new_emailaddrs) == 0) { + strcpy(CCC->user.emailaddrs, new_emailaddrs); } - #endif + } +#endif /* * No email address for user? Make one up. -- 2.30.2