]> git.notmuchmail.org Git - notmuch/blobdiff - test/symbol-test.cc
test: fix deprecation warning in symbol-test
[notmuch] / test / symbol-test.cc
index 9d73a571a71e5f733ca09c0cca57725a4dda7de3..9e956ddf228b6dc87482fa559625deec04a62252 100644 (file)
@@ -12,8 +12,10 @@ main (int argc, char **argv)
     if (argc != 3)
        return 1;
 
-    if (notmuch_database_open_verbose (argv[1], NOTMUCH_DATABASE_MODE_READ_ONLY,
-                                      &notmuch, &message)) {
+    if (notmuch_database_open_with_config (argv[1], NOTMUCH_DATABASE_MODE_READ_ONLY,
+                                          "",
+                                          NULL,
+                                          &notmuch, &message)) {
        if (message) {
            fputs (message, stderr);
            free (message);