summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-10-23 09:27:02 -0300
committerDavid Bremner <david@tethera.net>2021-10-30 15:04:28 -0300
commitefbf5bafaf15cc99e272bd75e71688c96130d9d5 (patch)
tree7364a1e6d420f11dc6f278da08eb5488bab30653 /lib
parentc7705fb95e2f5d11fabb7b6a07f7b7558e0928e6 (diff)
lib/open: replace call to deprecated notmuch_database_open_verbose
Essentially inline the existing shim definition of notmuch_database_open_verbose.
Diffstat (limited to 'lib')
-rw-r--r--lib/open.cc5
1 files 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);