>>>> "Olivier" == Olivier Galibert
<galibert(a)pobox.com> writes:
Olivier> struct Lisp_LDAP
Olivier> {
Olivier> /* lcrecord header */
Olivier> struct lcrecord_header header;
Olivier> /* The LDAP connection handle used by the LDAP API */
Olivier> LDAP *ld;
Olivier> /* Name of the host we connected to */
Olivier> Lisp_Object host;
Olivier> /* Status of the LDAP connection. */
Olivier> int livep;
Olivier> };
Olivier> Two questions:
Olivier> - Is there a reason not to set the ld field to NULL when the
Olivier> connection is closed?
Olivier> - Is there a reason to use livep instead of ld!=NULL ?
Well thinking of it... the answer is... no and no ! Probably a momentary lapse
or copy/paste abuse. I can send a patch for that or you can send it if you
did the fix yourself already.
Oscar