From efbf5bafaf15cc99e272bd75e71688c96130d9d5 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sat, 23 Oct 2021 09:27:02 -0300 Subject: [PATCH] lib/open: replace call to deprecated notmuch_database_open_verbose Essentially inline the existing shim definition of notmuch_database_open_verbose. --- lib/open.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); -- 2.43.0