Mercurial > dovecot > core-2.2
changeset 10604:4c9c9111e361 HEAD
lib-settings: Treat blocks with empty names as unique names, instead of merging them.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 29 Jan 2010 10:10:07 +0200 |
parents | 25c1ed070b3c |
children | 992bb0c85ee9 |
files | src/lib-settings/settings-parser.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-settings/settings-parser.c Thu Jan 28 23:14:52 2010 +0200 +++ b/src/lib-settings/settings-parser.c Fri Jan 29 10:10:07 2010 +0200 @@ -1649,7 +1649,7 @@ break; } - if (j < dest_count) { + if (j < dest_count && **src_namep != '\0') { /* merge */ child_src_link.set_struct = src_children[i]; child_src_link.change_struct = src_cchildren[i];