The two remaining cases in the lib seem to require more than a simple
replacement of the old call, with the new call plus a check of the
return value.
notmuch_message_t *message;
char *filename;
+ /* XXX: this should use the _st version, but needs an error
+ path */
for (messages = notmuch_query_search_messages (query);
notmuch_messages_valid (messages);
notmuch_messages_move_to_next (messages))
* oldest or newest subject is desired. */
notmuch_query_set_sort (thread_id_query, NOTMUCH_SORT_OLDEST_FIRST);
+ /* XXX: this should use the _st version, but it needs an error path
+ */
for (messages = notmuch_query_search_messages (thread_id_query);
notmuch_messages_valid (messages);
notmuch_messages_move_to_next (messages))