X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-mail-operation.c;h=c7399b5ffedfae4759218b3cce47e2cbeed93e3f;hb=7e346c985474c9411be52e454a033407dc184d6a;hp=4f277ab18e53bf8f16f38a9ab506cfb7acd2268d;hpb=54b2b4b64a81caaf214c47da59057b54bf7b067c;p=modest diff --git a/src/modest-mail-operation.c b/src/modest-mail-operation.c index 4f277ab..c7399b5 100644 --- a/src/modest-mail-operation.c +++ b/src/modest-mail-operation.c @@ -2097,7 +2097,7 @@ modest_mail_operation_create_folder (ModestMailOperation *self, } } - if (!strcmp (name, " ") || strchr (name, '/')) { + if (!priv->error && (!strcmp (name, " ") || strchr (name, '/'))) { priv->status = MODEST_MAIL_OPERATION_STATUS_FAILED; g_set_error (&(priv->error), MODEST_MAIL_OPERATION_ERROR, MODEST_MAIL_OPERATION_ERROR_FOLDER_RULES,