From: Dennis Schafroth Date: Fri, 12 Nov 2010 10:17:24 +0000 (+0100) Subject: Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz X-Git-Tag: v4.1.4~13^2^2 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=22a1022ca71a2b44b0f2e03dcf782be16375e0c1;hp=13ae8240df93fc9a717ab9e069f356df1d9eca7f Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz --- diff --git a/src/stemmer.c b/src/stemmer.c index b4c4cb6..5b8097f 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;