Mercurial > hg > xemacs-beta
diff src/eldap.c @ 388:aabb7f5b1c81 r21-2-9
Import from CVS: tag r21-2-9
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:09:42 +0200 |
parents | bbff43aa5eb7 |
children | 74fd4e045ea6 |
line wrap: on
line diff
--- a/src/eldap.c Mon Aug 13 11:08:51 2007 +0200 +++ b/src/eldap.c Mon Aug 13 11:09:42 2007 +0200 @@ -27,7 +27,7 @@ It has been tested with: - UMich LDAP 3.3 (http://www.umich.edu/~dirsvcs/ldap/) - OpenLDAP 1.0.3 (http://www.openldap.org/) - - Netscape's LDAP SDK 1.0 (http://developer.netscape.com) */ + - Netscape's LDAP SDK 1.0 (http://developer.netscape.com/) */ #include <config.h> @@ -288,7 +288,10 @@ } /* Connect to the server and bind */ + slow_down_interrupts (); ld = ldap_open ((char *)XSTRING_DATA (host), ldap_port); + speed_up_interrupts (); + if (ld == NULL ) signal_simple_error_2 ("Failed connecting to host", host, @@ -563,7 +566,6 @@ void vars_of_eldap (void) { - Fprovide (intern ("ldap")); ldap_default_port = LDAP_PORT; Vldap_default_base = Qnil;