mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-23 01:44:52 +01:00
lib: actually return failures from notmuch_message_tags_to_maildir_flags
The function takes great care to preserve the first error status it encounters, yet fails to return that status to the caller. Fix it.
This commit is contained in:
parent
b2caa125ee
commit
f42e2e43a0
1 changed files with 1 additions and 1 deletions
|
@ -1497,7 +1497,7 @@ notmuch_message_tags_to_maildir_flags (notmuch_message_t *message)
|
||||||
talloc_free (to_set);
|
talloc_free (to_set);
|
||||||
talloc_free (to_clear);
|
talloc_free (to_clear);
|
||||||
|
|
||||||
return NOTMUCH_STATUS_SUCCESS;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
notmuch_status_t
|
notmuch_status_t
|
||||||
|
|
Loading…
Reference in a new issue