[dovecot-cvs] dovecot/src/imap cmd-list.c,1.33,1.34

cras at procontrol.fi cras at procontrol.fi
Tue Jan 6 08:14:50 EET 2004


Update of /home/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv21803

Modified Files:
	cmd-list.c 
Log Message:
LIST: If reference parameter is given, get the namespace from it.



Index: cmd-list.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/cmd-list.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- cmd-list.c	25 Nov 2003 12:50:28 -0000	1.33
+++ cmd-list.c	6 Jan 2004 06:14:48 -0000	1.34
@@ -146,7 +146,7 @@
 	}
 
 	/* FIXME: really needs some work.. */
-	ns = namespace_find(client->namespaces, mask);
+	ns = namespace_find(client->namespaces, *ref != '\0' ? ref : mask);
 	if (ns != NULL)
 		storage = ns->storage;
 	else



More information about the dovecot-cvs mailing list