dovecot-2.2: fts-lucene: Fixed building without libstemmer

dovecot at dovecot.org dovecot at dovecot.org
Sun Jun 16 21:25:56 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/3c9bb07ea92e
changeset: 16521:3c9bb07ea92e
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Jun 16 21:25:39 2013 +0300
description:
fts-lucene: Fixed building without libstemmer

diffstat:

 src/plugins/fts-lucene/lucene-wrapper.cc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r dd04b4ef530d -r 3c9bb07ea92e src/plugins/fts-lucene/lucene-wrapper.cc
--- a/src/plugins/fts-lucene/lucene-wrapper.cc	Sun Jun 16 21:15:42 2013 +0300
+++ b/src/plugins/fts-lucene/lucene-wrapper.cc	Sun Jun 16 21:25:39 2013 +0300
@@ -123,9 +123,9 @@
 		index->default_analyzer =
 			_CLNEW snowball::SnowballAnalyzer(index->normalizer,
 							  index->set.default_language);
-	}
+	} else
 #endif
-	else {
+	{
 		index->default_analyzer = _CLNEW standard::StandardAnalyzer();
 		if (index->normalizer != NULL) {
 			index->normalizer_buf =


More information about the dovecot-cvs mailing list