X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-mail-operation.c;h=d6882a94fb5e9bdba92173d1e84073750092c3e3;hb=c2f1be22204a73a786821ede37c64a06efa61375;hp=2541e5f0d4c888e85045e7bbddc425f4e69fb25f;hpb=933732f81601fe26dae04147d56a9c0ef151271e;p=modest diff --git a/src/modest-mail-operation.c b/src/modest-mail-operation.c index 2541e5f..d6882a9 100644 --- a/src/modest-mail-operation.c +++ b/src/modest-mail-operation.c @@ -2468,7 +2468,7 @@ modest_mail_operation_xfer_folder (ModestMailOperation *self, priv->status = MODEST_MAIL_OPERATION_STATUS_FAILED; g_set_error (&(priv->error), MODEST_MAIL_OPERATION_ERROR, MODEST_MAIL_OPERATION_ERROR_FOLDER_RULES, - error_msg); + "%s", error_msg); /* Call the user callback if exists */ if (user_callback) @@ -2740,7 +2740,7 @@ get_msg_async_cb (TnyFolder *folder, } else { g_set_error (&(priv->error), MODEST_MAIL_OPERATION_ERROR, MODEST_MAIL_OPERATION_ERROR_ITEM_NOT_FOUND, - err->message); + "%s", err->message); } } else if (finished && priv->status == MODEST_MAIL_OPERATION_STATUS_IN_PROGRESS) { /* Set the success status before calling the user callback */