ld -> ldap_conn

This commit is contained in:
Todd C. Miller
2007-12-17 01:02:44 +00:00
parent a68ab16dcd
commit ed88a812ec

6
sudo.c
View File

@@ -1355,9 +1355,9 @@ cleanup(gotsignal)
sudo_endgrent(); sudo_endgrent();
} }
#ifdef HAVE_LDAP #ifdef HAVE_LDAP
if (ld != NULL) { if (ldap_conn != NULL) {
sudo_ldap_close(ld); sudo_ldap_close(ldap_conn);
ld = NULL; ldap_conn = NULL;
} }
#endif #endif
} }