Commit 81bc65e6 81bc65e69d44f3e5ccdfd8a6ac38e3a21d3006af by Sergey Poznyakoff

Bugfix.

* libmu_auth/ldap.c (_mu_ldap_search): Fix improper addressing of env.
1 parent 41a8ddfc
...@@ -534,7 +534,7 @@ _mu_ldap_search (LDAP *ld, const char *filter_pat, const char *key, ...@@ -534,7 +534,7 @@ _mu_ldap_search (LDAP *ld, const char *filter_pat, const char *key,
534 534
535 env[0] = "user"; 535 env[0] = "user";
536 env[1] = key; 536 env[1] = key;
537 env[3] = NULL; 537 env[2] = NULL;
538 538
539 ws.ws_env = env; 539 ws.ws_env = env;
540 if (mu_wordsplit (filter_pat, &ws, 540 if (mu_wordsplit (filter_pat, &ws,
......