[dovecot-cvs] dovecot/src/lib-storage mail-thread.c,1.4,1.5

cras at procontrol.fi cras at procontrol.fi
Sat Jan 11 21:01:58 EET 2003


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

Modified Files:
	mail-thread.c 
Log Message:
We support only REFERENCES threading for now - updated capability and trying
to use ORDEREDSUBJECT now gives error.



Index: mail-thread.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/mail-thread.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- mail-thread.c	11 Jan 2003 15:29:47 -0000	1.4
+++ mail-thread.c	11 Jan 2003 19:01:56 -0000	1.5
@@ -89,6 +89,9 @@
 	struct mail_thread_context *ctx;
 	pool_t pool;
 
+	if (type != MAIL_THREAD_REFERENCES)
+		i_fatal("Only REFERENCES threading supported");
+
 	pool = pool_alloconly_create("mail_thread_context",
 				     sizeof(struct node) * APPROX_MSG_COUNT);
 




More information about the dovecot-cvs mailing list