aboutsummaryrefslogtreecommitdiff
path: root/dico
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-09-27 14:22:21 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2009-09-27 14:25:02 +0300
commita02e81c69c3fb33d270915584e556deaa4df6a5b (patch)
tree7e349c813ca1128bd0456ab6412d269375bf1823 /dico
parent2f9243a64f2c4de97da6b8d8e041c214a7dc302a (diff)
downloaddico-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.c2
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"));

Return to:

Send suggestions and report system problems to the System administrator.