X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2Fmessage-property.cc;h=ecf7e140108d08b07e43afeb78c636d6085de46f;hb=2b62ca2e3b786beca8d89fa737bda0b49faa638d;hp=710ba0460665c6e506a2efe24b2a12c242321980;hpb=8a3f86f2f9b53d34e001537b113628ceba20a02d;p=notmuch diff --git a/lib/message-property.cc b/lib/message-property.cc index 710ba046..ecf7e140 100644 --- a/lib/message-property.cc +++ b/lib/message-property.cc @@ -115,7 +115,7 @@ notmuch_status_t _notmuch_message_remove_all_properties (notmuch_message_t *message, const char *key, bool prefix) { notmuch_status_t status; - const char * term_prefix; + const char *term_prefix; status = _notmuch_database_ensure_writable (notmuch_message_get_database (message)); if (status) @@ -150,6 +150,7 @@ notmuch_message_properties_t * notmuch_message_get_properties (notmuch_message_t *message, const char *key, notmuch_bool_t exact) { notmuch_string_map_t *map; + map = _notmuch_message_property_map (message); return _notmuch_string_map_iterator_create (map, key, exact); }