[dovecot-cvs] dovecot/src/lib-storage mail-storage.c,1.9,1.10

cras at procontrol.fi cras at procontrol.fi
Tue Feb 11 22:09:39 EET 2003


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

Modified Files:
	mail-storage.c 
Log Message:
Ignore empty workarounds



Index: mail-storage.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/mail-storage.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- mail-storage.c	11 Feb 2003 19:37:16 -0000	1.9
+++ mail-storage.c	11 Feb 2003 20:09:37 -0000	1.10
@@ -43,7 +43,10 @@
 		return;
 
 	for (str = t_strsplit(env, " "); *str != NULL; str++) {
-                list = client_workaround_list;
+		if (*str == '\0')
+			continue;
+
+		list = client_workaround_list;
 		for (; list->name != NULL; list++) {
 			if (strcasecmp(*str, list->name) == 0)
 				client_workarounds |= list->num;




More information about the dovecot-cvs mailing list