1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-28 07:41:04 +02:00

* mu-cmd-server: properly report errors when moving/flagging

This commit is contained in:
djcb 2012-01-06 17:23:33 +02:00
parent 8888953a9b
commit 4d6ea2346b

View File

@ -550,6 +550,9 @@ move_or_flag (MuStore *store, MuQuery *query, GSList *args, gboolean is_move,
merr = do_move (store, docid, msg, mdir, flags, is_move, err);
mu_msg_unref (msg);
if (merr != MU_OK)
return server_error (err, merr, "error moving/flagging file");
return merr;
}