X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Feldap.h;h=29f9aa99cbeb776bc0c05174c5f883c53c10dacf;hb=45d55aa5e3ee27b0676ab63680f5156043337396;hp=e60c8a87bf1805181e1c3b5fc9a55db00d69bb59;hpb=976b002b16336930724ae22476014583ad022e7d;p=chise%2Fxemacs-chise.git- diff --git a/src/eldap.h b/src/eldap.h index e60c8a8..29f9aa9 100644 --- a/src/eldap.h +++ b/src/eldap.h @@ -37,8 +37,6 @@ struct Lisp_LDAP LDAP *ld; /* Name of the host we connected to */ Lisp_Object host; - /* Status of the LDAP connection. */ - int livep; }; @@ -52,7 +50,7 @@ DECLARE_LRECORD (ldap, struct Lisp_LDAP); #define CHECK_LIVE_LDAP(ldap) do { \ CHECK_LDAP (ldap); \ - if (!XLDAP (ldap)->livep) \ + if (!XLDAP (ldap)->ld) \ signal_simple_error ("Attempting to access closed LDAP connection", \ ldap); \ } while (0)