[Goodies-commits] r5315 - xfce4-dict/trunk/lib
Enrico Troeger
enrico at xfce.org
Wed Aug 27 19:37:17 CEST 2008
Author: enrico
Date: 2008-08-27 17:37:17 +0000 (Wed, 27 Aug 2008)
New Revision: 5315
Modified:
xfce4-dict/trunk/lib/dictd.c
Log:
* Fix broken DICTD search due to wrongly initialised status code (introduced in last commit).
Modified: xfce4-dict/trunk/lib/dictd.c
===================================================================
--- xfce4-dict/trunk/lib/dictd.c 2008-08-26 19:19:51 UTC (rev 5314)
+++ xfce4-dict/trunk/lib/dictd.c 2008-08-27 17:37:17 UTC (rev 5315)
@@ -322,6 +322,7 @@
}
dd->query_is_running = TRUE;
+ dd->query_status = NO_ERROR;
/* take only the first part of the dictionary string, so let the string end at the space */
i = 0;
@@ -411,6 +412,8 @@
send_command(fd, "show databases");
+ dd->query_status = NO_ERROR;
+
/* read all server output */
answer = buffer = get_answer(dd, fd);
close(fd);
More information about the Goodies-commits
mailing list