X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-new.c;h=2a929c56fe95ebcae44ec8e257033d2a06296fdd;hp=21c9b6ac95abdb81d9983758ec3b5d7612783644;hb=9257622da8ed50502e59adec69e5daa043ef242a;hpb=3a9c3ec9e719f0e5adefe0ceafffeb34c7a3917e diff --git a/notmuch-new.c b/notmuch-new.c index 21c9b6ac..2a929c56 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -146,7 +146,7 @@ add_files_recursive (notmuch_database_t *notmuch, path_mtime = st->st_mtime; - path_dbtime = notmuch_database_get_timestamp (notmuch, path); + path_dbtime = notmuch_database_get_directory_mtime (notmuch, path); num_entries = scandir (path, &namelist, 0, ino_cmp); if (num_entries == -1) { @@ -277,7 +277,7 @@ add_files_recursive (notmuch_database_t *notmuch, next = NULL; } - status = notmuch_database_set_timestamp (notmuch, path, path_mtime); + status = notmuch_database_set_directory_mtime (notmuch, path, path_mtime); if (status && ret == NOTMUCH_STATUS_SUCCESS) ret = status;