dovecot-2.2: lib-fts: Use case-sensitive settings comparisons in...
dovecot at dovecot.org
dovecot at dovecot.org
Sat May 9 10:33:13 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/3bcd04bf5635
changeset: 18576:3bcd04bf5635
user: Timo Sirainen <tss at iki.fi>
date: Sat May 09 13:20:29 2015 +0300
description:
lib-fts: Use case-sensitive settings comparisons in fts-tokenizer
Dovecot in general doesn't allow case-insensitive settings.
diffstat:
src/lib-fts/fts-tokenizer-generic.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (17 lines):
diff -r 6c284e61013f -r 3bcd04bf5635 src/lib-fts/fts-tokenizer-generic.c
--- a/src/lib-fts/fts-tokenizer-generic.c Sat May 09 13:19:21 2015 +0300
+++ b/src/lib-fts/fts-tokenizer-generic.c Sat May 09 13:20:29 2015 +0300
@@ -43,10 +43,10 @@
"Invalid maxlen setting: %s", value);
return -1;
}
- } else if (strcasecmp(key, "algorithm") == 0) {
- if (strcasecmp(value, ALGORITHM_TR29_NAME) == 0)
+ } else if (strcmp(key, "algorithm") == 0) {
+ if (strcmp(value, ALGORITHM_TR29_NAME) == 0)
algo = BOUNDARY_ALGORITHM_TR29;
- else if (strcasecmp(value, ALGORITHM_SIMPLE_NAME) == 0)
+ else if (strcmp(value, ALGORITHM_SIMPLE_NAME) == 0)
;
else {
*error_r = t_strdup_printf(
More information about the dovecot-cvs
mailing list