[dovecot-cvs] dovecot/src/lib-storage mail-storage.c,1.18,1.19

cras at procontrol.fi cras at procontrol.fi
Mon Oct 20 08:15:20 EEST 2003


Update of /home/cvs/dovecot/src/lib-storage
In directory danu:/tmp/cvs-serv771/lib-storage

Modified Files:
	mail-storage.c 
Log Message:
Added t_strsplit_spaces().



Index: mail-storage.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/mail-storage.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- mail-storage.c	24 Aug 2003 10:49:15 -0000	1.18
+++ mail-storage.c	20 Oct 2003 04:15:17 -0000	1.19
@@ -44,10 +44,7 @@
 	if (env == NULL)
 		return;
 
-	for (str = t_strsplit(env, " "); *str != NULL; str++) {
-		if (**str == '\0')
-			continue;
-
+	for (str = t_strsplit_spaces(env, " "); *str != NULL; str++) {
 		list = client_workaround_list;
 		for (; list->name != NULL; list++) {
 			if (strcasecmp(*str, list->name) == 0) {



More information about the dovecot-cvs mailing list