comparison src/eldap.c @ 576:6db80f4ab17c

[xemacs-hg @ 2001-05-25 05:42:25 by martinb] Cleaning up after error-frobbing patch: More compiler warnings/errors
author martinb
date Fri, 25 May 2001 05:42:26 +0000
parents 183866b06e0b
children 190b164ddcac
comparison
equal deleted inserted replaced
575:d5e8f5ad5043 576:6db80f4ab17c
328 #endif /* not HAVE_LDAP_SET_OPTION */ 328 #endif /* not HAVE_LDAP_SET_OPTION */
329 329
330 err = ldap_bind_s (ld, ldap_binddn, ldap_passwd, ldap_auth); 330 err = ldap_bind_s (ld, ldap_binddn, ldap_passwd, ldap_auth);
331 if (err != LDAP_SUCCESS) 331 if (err != LDAP_SUCCESS)
332 { 332 {
333 Bufbyte *interrmess; 333 char *interrmess;
334 EXTERNAL_TO_C_STRING (ldap_err2string (err), interrmess, Qnative); 334 EXTERNAL_TO_C_STRING (ldap_err2string (err), interrmess, Qnative);
335 signal_error (Qprocess_error, "Failed binding to the server", 335 signal_error (Qprocess_error, "Failed binding to the server",
336 build_string (interrmess)); 336 build_string (interrmess));
337 } 337 }
338 338