mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-23 01:44:52 +01:00
lib/compact: replace deprecated notmuch_database_open_verbose
It should not be necesary to have any config information here, hence passing "" to n_d_open_with_config.
This commit is contained in:
parent
e7bb7919a2
commit
c7705fb95e
1 changed files with 6 additions and 4 deletions
|
@ -590,8 +590,10 @@ notmuch_database_compact (const char *path,
|
||||||
notmuch_database_t *notmuch = NULL;
|
notmuch_database_t *notmuch = NULL;
|
||||||
char *message = NULL;
|
char *message = NULL;
|
||||||
|
|
||||||
ret = notmuch_database_open_verbose (path,
|
ret = notmuch_database_open_with_config (path,
|
||||||
NOTMUCH_DATABASE_MODE_READ_WRITE,
|
NOTMUCH_DATABASE_MODE_READ_WRITE,
|
||||||
|
"",
|
||||||
|
NULL,
|
||||||
¬much,
|
¬much,
|
||||||
&message);
|
&message);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
|
Loading…
Reference in a new issue