Skip to content

Commit

Permalink
#243: doveadm rmb check indices print misleading missin guid for mail…
Browse files Browse the repository at this point in the history
… message
  • Loading branch information
jrse committed Feb 5, 2019
1 parent 96c12f6 commit 105c407
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/storage-rbox/doveadm-rbox-plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,11 @@ static int cmd_rmb_search_run(std::map<std::string, std::string> &opts, struct m
if (download) {
rmb_cmds.set_output_path(&parser);
}
ret = rmb_cmds.query_mail_storage(&mail_objects, &parser, download, silent);
if (ret < 0) {
i_error("Error query mail storage. Errorcode: %d", ret);
if(load_metadata){
ret = rmb_cmds.query_mail_storage(&mail_objects, &parser, download, silent);
if (ret < 0) {
i_error("Error query mail storage. Errorcode: %d", ret);
}
}
delete ms;

Expand Down

0 comments on commit 105c407

Please sign in to comment.