From 25db6a3c314287ff76e7a4a1fb28cc1a49a670d7 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Sat, 17 Dec 2005 13:47:51 +0000 Subject: [PATCH] revert 1.8 - what was i smoking?! the CREATE argument is already quoted; we just extracted it from the previous command. --- src/drv_imap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drv_imap.c b/src/drv_imap.c index 5481f05..fcdc1f1 100644 --- a/src/drv_imap.c +++ b/src/drv_imap.c @@ -1001,7 +1001,7 @@ get_cmd_result( imap_store_t *ctx, struct imap_cmd *tcmd ) if (!strcmp( "NO", arg )) { if (cmdp->cb.create && cmd && (cmdp->cb.trycreate || !memcmp( cmd, "[TRYCREATE]", 11 ))) { /* SELECT, APPEND or UID COPY */ p = strchr( cmdp->cmd, '"' ); - if (!issue_imap_cmd( ctx, 0, "CREATE \"%.*s\"", strchr( p + 1, '"' ) - p + 1, p )) { + if (!issue_imap_cmd( ctx, 0, "CREATE %.*s", strchr( p + 1, '"' ) - p + 1, p )) { resp = RESP_BAD; goto normal; }