Mercurial > dovecot > original-hg > dovecot-1.2
diff src/auth/db-ldap.c @ 4903:204d7edc7cdc HEAD
Added context parameter type safety checks for most callback APIs.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 15 Dec 2006 18:55:29 +0200 |
parents | 8ac2a2d27364 |
children | 5b4c9b20eba0 |
line wrap: on
line diff
--- a/src/auth/db-ldap.c Wed Dec 13 15:49:46 2006 +0200 +++ b/src/auth/db-ldap.c Fri Dec 15 18:55:29 2006 +0200 @@ -684,7 +684,8 @@ conn->fd = -1; conn->config_path = p_strdup(pool, config_path); conn->set = default_ldap_settings; - if (!settings_read(config_path, NULL, parse_setting, NULL, conn)) + if (!settings_read(config_path, NULL, parse_setting, + null_settings_section_callback, conn)) exit(FATAL_DEFAULT); if (conn->set.base == NULL)