lib/open: replace call to deprecated notmuch_database_open_verbose

Essentially inline the existing shim definition of
notmuch_database_open_verbose.
This commit is contained in:
David Bremner 2021-10-23 09:27:02 -03:00
parent c7705fb95e
commit efbf5bafaf

View file

@ -19,9 +19,8 @@ notmuch_database_open (const char *path,
char *status_string = NULL; char *status_string = NULL;
notmuch_status_t status; notmuch_status_t status;
status = notmuch_database_open_verbose (path, mode, database, status = notmuch_database_open_with_config (path, mode, "", NULL,
&status_string); database, &status_string);
if (status_string) { if (status_string) {
fputs (status_string, stderr); fputs (status_string, stderr);
free (status_string); free (status_string);