[dovecot-cvs] dovecot/src/imap commands-util.c,1.20,1.21

cras at procontrol.fi cras at procontrol.fi
Wed Feb 12 20:22:14 EET 2003


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

Modified Files:
	commands-util.c 
Log Message:
more full_filesyste_access fixes (forgot to commit)



Index: commands-util.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/commands-util.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- commands-util.c	27 Jan 2003 04:23:45 -0000	1.20
+++ commands-util.c	12 Feb 2003 18:22:11 -0000	1.21
@@ -22,8 +22,7 @@
 
 	/* make sure it even looks valid */
 	sep = client->storage->hierarchy_sep;
-	if (*mailbox == '\0' || *mailbox == sep ||
-	    strspn(mailbox, "\r\n*%?") != 0) {
+	if (*mailbox == '\0' || strspn(mailbox, "\r\n*%?") != 0) {
 		client_send_tagline(client, "NO Invalid mailbox name.");
 		return FALSE;
 	}




More information about the dovecot-cvs mailing list