mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 12:28:09 +01:00
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:
parent
c7705fb95e
commit
efbf5bafaf
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue