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:
Jani Nikula 2014-09-22 11:54:52 +02:00 committed by David Bremner
parent b2caa125ee
commit f42e2e43a0

View file

@ -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