]> git.cworth.org Git - notmuch/commitdiff
lib/open: replace call to deprecated notmuch_database_open_verbose
authorDavid Bremner <david@tethera.net>
Sat, 23 Oct 2021 12:27:02 +0000 (09:27 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 30 Oct 2021 18:04:28 +0000 (15:04 -0300)
Essentially inline the existing shim definition of
notmuch_database_open_verbose.

lib/open.cc

index ba32c2f16d84d9d19c5bdcf1e5ad58db76d411d7..46a0154534886b77e446604219023e5de5c790d4 100644 (file)
@@ -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);