From: David Bremner Date: Sat, 23 Oct 2021 12:27:02 +0000 (-0300) Subject: lib/open: replace call to deprecated notmuch_database_open_verbose X-Git-Tag: 0.35_rc0~92 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;ds=sidebyside;h=efbf5bafaf15cc99e272bd75e71688c96130d9d5;p=notmuch lib/open: replace call to deprecated notmuch_database_open_verbose Essentially inline the existing shim definition of notmuch_database_open_verbose. --- diff --git a/lib/open.cc b/lib/open.cc index ba32c2f1..46a01545 100644 --- a/lib/open.cc +++ b/lib/open.cc @@ -19,9 +19,8 @@ notmuch_database_open (const char *path, char *status_string = NULL; notmuch_status_t status; - status = notmuch_database_open_verbose (path, mode, database, - &status_string); - + status = notmuch_database_open_with_config (path, mode, "", NULL, + database, &status_string); if (status_string) { fputs (status_string, stderr); free (status_string);