]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
fs-posix: Allow ":" as well as space as parameter separator.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 21 Jun 2016 14:26:01 +0000 (17:26 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 21 Jun 2016 14:26:01 +0000 (17:26 +0300)
This makes it consistent with all the other fs drivers.

src/lib-fs/fs-posix.c

index 646997504a10d8a2ff29633fc7ee1d5ba6343e42..3acad9347fbf8f961d690ce76ed4bf2ef85d96de 100644 (file)
@@ -88,7 +88,7 @@ fs_posix_init(struct fs *_fs, const char *args, const struct fs_settings *set)
        fs->lock_method = FS_POSIX_LOCK_METHOD_FLOCK;
        fs->mode = FS_DEFAULT_MODE;
 
-       tmp = t_strsplit_spaces(args, " ");
+       tmp = t_strsplit_spaces(args, ": ");
        for (; *tmp != NULL; tmp++) {
                const char *arg = *tmp;