[dovecot-cvs]
dovecot/src/master main.c,1.46,1.47 master-settings.c,1.35,1.36
cras at procontrol.fi
cras at procontrol.fi
Mon Oct 20 08:15:21 EEST 2003
Update of /home/cvs/dovecot/src/master
In directory danu:/tmp/cvs-serv771/master
Modified Files:
main.c master-settings.c
Log Message:
Added t_strsplit_spaces().
Index: main.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/main.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- main.c 12 Jul 2003 23:43:16 -0000 1.46
+++ main.c 20 Oct 2003 04:15:18 -0000 1.47
@@ -242,7 +242,8 @@
ssl_ip = normal_ip;
/* register wanted protocols */
- for (proto = t_strsplit(set->protocols, " "); *proto != NULL; proto++) {
+ proto = t_strsplit_spaces(set->protocols, " ");
+ for (; *proto != NULL; proto++) {
fd = NULL; ip = NULL; port = 0;
if (strcasecmp(*proto, "imap") == 0) {
if (set->protocol == MAIL_PROTOCOL_IMAP) {
Index: master-settings.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/master-settings.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- master-settings.c 15 Sep 2003 14:13:47 -0000 1.35
+++ master-settings.c 20 Oct 2003 04:15:18 -0000 1.36
@@ -472,7 +472,8 @@
}
dotlock_got = fcntl_got = flock_got = FALSE;
- for (str = t_strsplit(set->mbox_locks, " "); *str != NULL; str++) {
+ str = t_strsplit_spaces(set->mbox_locks, " ");
+ for (; *str != NULL; str++) {
if (strcasecmp(*str, "dotlock") == 0)
dotlock_got = TRUE;
else if (strcasecmp(*str, "fcntl") == 0)
More information about the dovecot-cvs
mailing list