lib/notmuch: update example

Likely missed in 86cbd215e, when notmuch_query_search_messages_st was
renamed to notmuch_query_search_messages.
This commit is contained in:
Kevin Boulain 2023-02-27 13:06:29 +01:00 committed by David Bremner
parent 48d774bbf4
commit d86e03c786

View file

@ -1172,7 +1172,10 @@ notmuch_query_search_threads_st (notmuch_query_t *query, notmuch_threads_t **out
*
* query = notmuch_query_create (database, query_string);
*
* for (messages = notmuch_query_search_messages (query);
* if (notmuch_query_search_messages (query, &messages) != NOTMUCH_STATUS_SUCCESS)
* return EXIT_FAILURE;
*
* for (;
* notmuch_messages_valid (messages);
* notmuch_messages_move_to_next (messages))
* {