Mercurial > dovecot > original-hg > dovecot-1.2
changeset 4180:92b572fbb88a HEAD
If LDAP library didn't have ldap_initialize() function, we always complained
about the URI settings.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 13 Apr 2006 14:48:58 +0300 |
parents | dc5d40160d1b |
children | b58eedd18662 |
files | src/auth/db-ldap.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/db-ldap.c Thu Apr 13 03:56:22 2006 +0300 +++ b/src/auth/db-ldap.c Thu Apr 13 14:48:58 2006 +0300 @@ -429,7 +429,7 @@ if (conn->set.uris == NULL && conn->set.hosts == NULL) i_fatal("LDAP: No uris or hosts set"); #ifndef LDAP_HAVE_INITIALIZE - if (conn->set.uris == NULL) { + if (conn->set.uris != NULL) { i_fatal("LDAP: Dovecot compiled without support for LDAP uris " "(ldap_initialize not found)"); }