X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fmessage.cc;h=424081f168d3a36c0070d5b630cba199d36bb7ef;hp=d993cde834a33baa5614ecf66d8272ed87c273c7;hb=62445dd0231c4f9e49f0be293e9f539d63bfdc99;hpb=003e718020b335f329f852ff1a3da23873d2ff6e diff --git a/lib/message.cc b/lib/message.cc index d993cde8..424081f1 100644 --- a/lib/message.cc +++ b/lib/message.cc @@ -531,6 +531,8 @@ _notmuch_message_remove_filename (notmuch_message_t *message, "file-direntry", direntry); status = COERCE_STATUS (private_status, "Unexpected error from _notmuch_message_remove_term"); + if (status) + return status; /* Re-synchronize "folder:" terms for this message. This requires: * 1. removing all "folder:" terms