From 29f1edd41f3cc72bca9a2aacd10d6fd49f681aa8 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 11 Nov 2010 14:23:16 +0100 Subject: [PATCH] Using different ICU diagnostic code --- src/stemmer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stemmer.c b/src/stemmer.c index 5829d9f..eca3c2a 100644 --- a/src/stemmer.c +++ b/src/stemmer.c @@ -47,7 +47,7 @@ yaz_stemmer_p yaz_stemmer_snowball_create(const char *locale, const char *rule, yaz_stemmer_p yaz_stemmer; yaz_log(YLOG_DEBUG, "create snowball stemmer: algoritm %s charenc %s ", algorithm, charenc); if (stemmer == 0) { - *status = U_ARGUMENT_TYPE_MISMATCH; + *status = U_ILLEGAL_ARGUMENT_ERROR; yaz_log(YLOG_DEBUG, "failed to create stemmer. Creating NOP stemmer"); return 0; -- 1.7.10.4