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

cras at dovecot.org cras at dovecot.org
Wed Dec 8 19:22:44 EET 2004


Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv26319

Modified Files:
	cmd-create.c 
Log Message:
CREATE dir/ wasn't working.



Index: cmd-create.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/cmd-create.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- cmd-create.c	4 Sep 2004 15:03:46 -0000	1.10
+++ cmd-create.c	8 Dec 2004 17:22:42 -0000	1.11
@@ -28,6 +28,7 @@
 		   mailbox. */
                 directory = TRUE;
 		mailbox = t_strndup(mailbox, len-1);
+		full_mailbox = t_strndup(full_mailbox, strlen(full_mailbox)-1);
 	}
 
 	if (!client_verify_mailbox_name(client, full_mailbox, FALSE, TRUE))



More information about the dovecot-cvs mailing list