From a7397e73c3348218d1909ba1c455d46437b99e8b Mon Sep 17 00:00:00 2001 From: kelson42 Date: Mon, 13 Aug 2012 22:47:50 +0000 Subject: [PATCH] + small fixes in error messages --- src/server/kiwix-serve.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/kiwix-serve.cpp b/src/server/kiwix-serve.cpp index 9b905a1..38d5b2c 100644 --- a/src/server/kiwix-serve.cpp +++ b/src/server/kiwix-serve.cpp @@ -437,7 +437,7 @@ int main(int argc, char **argv) { new kiwix::CluceneSearcher(indexPath); indexType = kiwix::CLUCENE; } catch (...) { - cerr << "Unable to open the search index '" << zimPath << "' neither with the Xapian nor with CLucene." << endl; + cerr << "Unable to open the search index '" << indexPath << "' neither with the Xapian nor with CLucene." << endl; exit(1); } } @@ -490,7 +490,7 @@ int main(int argc, char **argv) { } hasSearchIndex = true; } catch (...) { - cerr << "Unable to open the search index '" << zimPath << "'." << endl; + cerr << "Unable to open the search index '" << indexPath << "'." << endl; } if (hasSearchIndex) {