lib: update cached mtime in notmuch_directory_set_mtime
authorDavid Bremner <david@tethera.net>
Mon, 27 Jun 2016 20:43:04 +0000 (22:43 +0200)
committerDavid Bremner <david@tethera.net>
Tue, 23 Aug 2016 23:58:46 +0000 (20:58 -0300)
commit59fed50a82b0a625a7303099675484557fed9d23
tree578eef01b2c06b3a6bc26197d1b73dd622c386e3
parent3ba1b938b56857dc18e4d2b7233b8aba5cad7820
lib: update cached mtime in notmuch_directory_set_mtime

Without this change, the following code fails

  notmuch_directory_set_mtime(dir, 12345);
  assert(notmuch_directory_get_mtime(dir) == 12345);
lib/directory.cc