aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorGravatar Jani Nikula <jani@nikula.org>2014-09-22 11:54:52 +0200
committerGravatar David Bremner <david@tethera.net>2014-09-24 20:19:34 +0200
commitf42e2e43a0284491c02a55e45c2cf4233b2b94f1 (patch)
treec13f0a3929e553aff1d2db2e176294a3e77178a4 /lib
parentb2caa125ee6771bc80ef91c471cedeb9289b9d7d (diff)
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/message.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/message.cc b/lib/message.cc
index 68f7e68d..7e825480 100644
--- a/lib/message.cc
+++ b/lib/message.cc
@@ -1497,7 +1497,7 @@ notmuch_message_tags_to_maildir_flags (notmuch_message_t *message)
talloc_free (to_set);
talloc_free (to_clear);
- return NOTMUCH_STATUS_SUCCESS;
+ return status;
}
notmuch_status_t