[dovecot-cvs] dovecot-lda/src deliver.c,1.42,1.43

cras at dovecot.org cras at dovecot.org
Thu Apr 13 21:16:56 EEST 2006


Update of /var/lib/cvs/dovecot-lda/src
In directory talvi:/tmp/cvs-serv10764

Modified Files:
	deliver.c 
Log Message:
Set also environments inside plugin { .. }



Index: deliver.c
===================================================================
RCS file: /var/lib/cvs/dovecot-lda/src/deliver.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- deliver.c	2 Apr 2006 09:20:03 -0000	1.42
+++ deliver.c	13 Apr 2006 18:16:53 -0000	1.43
@@ -337,7 +337,8 @@
 		value = p = strchr(line, '=');
 		if (value == NULL) {
 			if (strchr(line, '{') != NULL) {
-				if (strcmp(line, "protocol lda {") == 0)
+				if (strcmp(line, "protocol lda {") == 0 ||
+				    strcmp(line, "plugin {") == 0)
 					lda_section = TRUE;
 				sections++;
 			}



More information about the dovecot-cvs mailing list