X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2Fmessage.cc;h=424081f168d3a36c0070d5b630cba199d36bb7ef;hb=e59cc0031fbf84f49e32dedb9927f427d2c49309;hp=2a4954dd59ce1d9c72fc0e2685459b730e79f699;hpb=d77c7cefe45d132bd38aa5bfd4dd2f7a624b090b;p=obsolete%2Fnotmuch-old diff --git a/lib/message.cc b/lib/message.cc index 2a4954dd..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 @@ -862,7 +864,7 @@ _notmuch_message_add_term (notmuch_message_t *message, /* Parse 'text' and add a term to 'message' for each parsed word. Each * term will be added both prefixed (if prefix_name is not NULL) and - * also unprefixed). */ + * also non-prefixed). */ notmuch_private_status_t _notmuch_message_gen_terms (notmuch_message_t *message, const char *prefix_name,