Mercurial > hg > xemacs-beta
diff modules/ldap/eldap.c @ 2272:4ec724310f33
[xemacs-hg @ 2004-09-14 20:54:29 by james]
Eliminate gcc shadow warnings.
author | james |
---|---|
date | Tue, 14 Sep 2004 20:54:37 +0000 |
parents | 61855263cb07 |
children | 04bc9d2f42c7 |
line wrap: on
line diff
--- a/modules/ldap/eldap.c Tue Sep 14 20:26:46 2004 +0000 +++ b/modules/ldap/eldap.c Tue Sep 14 20:54:37 2004 +0000 @@ -218,7 +218,7 @@ int ldap_port = 0; int ldap_auth = LDAP_AUTH_SIMPLE; char *ldap_binddn = NULL; - char *ldap_passwd = NULL; + char *ldap_password = NULL; int ldap_deref = LDAP_DEREF_NEVER; int ldap_timelimit = 0; int ldap_sizelimit = 0; @@ -261,7 +261,7 @@ else if (EQ (keyword, Qpasswd)) { CHECK_STRING (value); - LISP_STRING_TO_EXTERNAL (value, ldap_passwd, Qnative); + LISP_STRING_TO_EXTERNAL (value, ldap_password, Qnative); } /* Deref */ else if (EQ (keyword, Qderef)) @@ -334,7 +334,7 @@ ld->ld_options |= LDAP_OPT_RESTART; #endif /* not HAVE_LDAP_SET_OPTION */ - err = ldap_bind_s (ld, ldap_binddn, ldap_passwd, ldap_auth); + err = ldap_bind_s (ld, ldap_binddn, ldap_password, ldap_auth); if (err != LDAP_SUCCESS) { Ibyte *interrmess;