diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-03-25 14:50:57 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-03-25 15:01:32 +0200 |
commit | 81bc65e69d44f3e5ccdfd8a6ac38e3a21d3006af (patch) | |
tree | 5f898958d8cb657be57d5e11e91acec88e0bd173 /libmu_auth | |
parent | 41a8ddfce70eda896cc2516bceb1cc424e95e5c4 (diff) | |
download | mailutils-81bc65e69d44f3e5ccdfd8a6ac38e3a21d3006af.tar.gz mailutils-81bc65e69d44f3e5ccdfd8a6ac38e3a21d3006af.tar.bz2 |
Bugfix.
* libmu_auth/ldap.c (_mu_ldap_search): Fix improper addressing of env.
Diffstat (limited to 'libmu_auth')
-rw-r--r-- | libmu_auth/ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmu_auth/ldap.c b/libmu_auth/ldap.c index c454910ff..2b7aff270 100644 --- a/libmu_auth/ldap.c +++ b/libmu_auth/ldap.c @@ -534,7 +534,7 @@ _mu_ldap_search (LDAP *ld, const char *filter_pat, const char *key, env[0] = "user"; env[1] = key; - env[3] = NULL; + env[2] = NULL; ws.ws_env = env; if (mu_wordsplit (filter_pat, &ws, |