From 17eb035bd28cc92b36c0ea0a853e77dd90ec7219 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Wed, 2 Mar 2011 23:04:04 +0200 Subject: [PATCH] * update mug2/mug.cc for changed mu_index_new --- toys/mug2/mug.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/toys/mug2/mug.cc b/toys/mug2/mug.cc index d2966184..38f6aab9 100644 --- a/toys/mug2/mug.cc +++ b/toys/mug2/mug.cc @@ -66,7 +66,9 @@ reindex (MugData *mugdata) return; err = NULL; - midx = mu_index_new (mu_runtime_xapian_dir(), &err); + midx = mu_index_new (mu_runtime_xapian_dir(), + mu_runtime_contacts_cache_file(), + &err); if (!midx) { if (err && err->code == MU_ERROR_XAPIAN_CANNOT_GET_WRITELOCK) { g_warning ("database busy...");