diff options
| author | uncrustify <david@tethera.net> | 2021-03-13 08:45:34 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-03-13 08:45:34 -0400 |
| commit | 8aeba1228ace947c1b689ae6ae08db5d53755917 (patch) | |
| tree | cd8e503fff2ce312726088e9e3cce175bd59d2b9 /lib/message-property.cc | |
| parent | 97fadd0645e908ff8322577a983dc710bfda33d6 (diff) | |
lib: run uncrustify
This is the result of running
$ uncrustify --replace --config ../devel/uncrustify.cfg *.c *.h *.cc
in the lib directory
Diffstat (limited to 'lib/message-property.cc')
| -rw-r--r-- | lib/message-property.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/message-property.cc b/lib/message-property.cc index ecf7e140..d5afa30c 100644 --- a/lib/message-property.cc +++ b/lib/message-property.cc @@ -43,11 +43,13 @@ notmuch_message_count_properties (notmuch_message_t *message, const char *key, u return NOTMUCH_STATUS_NULL_POINTER; notmuch_string_map_t *map; + map = _notmuch_message_property_map (message); if (! map) return NOTMUCH_STATUS_NULL_POINTER; notmuch_string_map_iterator_t *matcher = _notmuch_string_map_iterator_create (map, key, true); + if (! matcher) return NOTMUCH_STATUS_OUT_OF_MEMORY; |
