This commit was generated by cvs2svn to compensate for changes in r1080,
[chise/xemacs-chise.git.1] / src / eldap.h
index e60c8a8..788f88e 100644 (file)
@@ -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;
 };
 
 
@@ -46,13 +44,12 @@ DECLARE_LRECORD (ldap, struct Lisp_LDAP);
 #define XLDAP(x) XRECORD (x, ldap, struct Lisp_LDAP)
 #define XSETLDAP(x, p) XSETRECORD (x, p, ldap)
 #define LDAPP(x) RECORDP (x, ldap)
-#define GC_LDAPP(x) GC_RECORDP (x, ldap)
 #define CHECK_LDAP(x) CHECK_RECORD (x, ldap)
 #define CONCHECK_LDAP(x) CONCHECK_RECORD (x, 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)