[dovecot-cvs] dovecot/src/lib-settings settings.c,1.7,1.8

cras at procontrol.fi cras at procontrol.fi
Fri Aug 29 18:31:08 EEST 2003


Update of /home/cvs/dovecot/src/lib-settings
In directory danu:/tmp/cvs-serv4569/lib-settings

Modified Files:
	settings.c 
Log Message:
Allow key=value without requiring space between key and '='



Index: settings.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-settings/settings.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- settings.c	27 Aug 2003 14:35:54 -0000	1.7
+++ settings.c	29 Aug 2003 14:31:06 -0000	1.8
@@ -127,7 +127,7 @@
 		   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';



More information about the dovecot-cvs mailing list