[dovecot-cvs] dovecot/src/imap cmd-list.c,1.10,1.11

cras at procontrol.fi cras at procontrol.fi
Fri Jan 3 17:57:14 EET 2003


Update of /home/cvs/dovecot/src/imap
In directory danu:/tmp/cvs-serv6416/imap

Modified Files:
	cmd-list.c 
Log Message:
Rewrote rfc822-tokenize.c to work one token at a time so it won't uselessly
take memory, maybe also a bit faster. This caused pretty large changes all
around.

Also moved all string (un)escaping code to lib/strescape.c. 



Index: cmd-list.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/cmd-list.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- cmd-list.c	2 Jan 2003 11:50:53 -0000	1.10
+++ cmd-list.c	3 Jan 2003 15:57:12 -0000	1.11
@@ -1,6 +1,7 @@
 /* Copyright (C) 2002 Timo Sirainen */
 
 #include "common.h"
+#include "strescape.h"
 #include "commands.h"
 #include "imap-match.h"
 
@@ -48,7 +49,7 @@
 
 		/* escaping is done here to make sure we don't try to escape
 		   the separator char */
-		name = imap_escape(t_strdup_until(name, path));
+		name = str_escape(t_strdup_until(name, path));
 
 		/* find the node */
 		while (*node != NULL) {




More information about the dovecot-cvs mailing list