]> granicus.if.org Git - sudo/commitdiff
ld -> ldap_conn
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 17 Dec 2007 01:02:44 +0000 (01:02 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 17 Dec 2007 01:02:44 +0000 (01:02 +0000)
sudo.c

diff --git a/sudo.c b/sudo.c
index 70a4cf2c857d5410a119588c0a545b4f6f0224b0..79aa7a955406ee692d8c4946f906d6720c3b8f5d 100644 (file)
--- a/sudo.c
+++ b/sudo.c
@@ -1355,9 +1355,9 @@ cleanup(gotsignal)
        sudo_endgrent();
     }
 #ifdef HAVE_LDAP
-    if (ld != NULL) {
-       sudo_ldap_close(ld);
-       ld = NULL;
+    if (ldap_conn != NULL) {
+       sudo_ldap_close(ldap_conn);
+       ldap_conn = NULL;
     }
 #endif
 }