diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-09-27 14:22:21 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-09-27 14:25:02 +0300 |
commit | a02e81c69c3fb33d270915584e556deaa4df6a5b (patch) | |
tree | 7e349c813ca1128bd0456ab6412d269375bf1823 /dico | |
parent | 2f9243a64f2c4de97da6b8d8e041c214a7dc302a (diff) | |
download | dico-a02e81c69c3fb33d270915584e556deaa4df6a5b.tar.gz dico-a02e81c69c3fb33d270915584e556deaa4df6a5b.tar.bz2 |
Minor changes
* Makefile.am: Update ChangeLog rule
* configure.ac: Require autoconf 2.63, automake 1.11.
Enable silent rules.
* dico/connect.c (dict_match): Properly handle successful return
from XLEV command.
Diffstat (limited to 'dico')
-rw-r--r-- | dico/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dico/connect.c b/dico/connect.c index 00cb276..b0a7c68 100644 --- a/dico/connect.c +++ b/dico/connect.c @@ -459,7 +459,7 @@ dict_match(struct dict_connection *conn, char *database, char *strategy, XDICO_DEBUG(1, _("Setting Levenshtein threshold\n")); stream_printf(conn->str, "XLEV %u\n", levenshtein_threshold); dict_read_reply(conn); - if (!dict_status_p(conn, "250")) + if (dict_status_p(conn, "250")) conn->levdist = levenshtein_threshold; else { dico_log(L_WARN, 0, _("Server rejected XLEV command")); |