]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Allow key=value without requiring space between key and '='
authorTimo Sirainen <tss@iki.fi>
Fri, 29 Aug 2003 14:31:06 +0000 (17:31 +0300)
committerTimo Sirainen <tss@iki.fi>
Fri, 29 Aug 2003 14:31:06 +0000 (17:31 +0300)
--HG--
branch : HEAD

src/lib-settings/settings.c

index a09ee5d7f7a3e74e3289b2aa35a4d8bce409fb77..84946828c76d89d183115f1ba295a8092aa490d1 100644 (file)
@@ -127,7 +127,7 @@ int settings_read(const char *path, const char *section,
                   b) section_type section_name {
                   c) } */
                key = line;
-               while (!IS_WHITE(*line) && *line != '\0')
+               while (!IS_WHITE(*line) && *line != '\0' && *line != '=')
                        line++;
                if (IS_WHITE(*line)) {
                        *line++ = '\0';