diff --git a/lib/dictd.c b/lib/dictd.c index f7584b085fde6429cfefae4a6a686df6683d9d5a..212fef4dd6bd77a2a313c958368ebbcc879eeb99 100644 --- a/lib/dictd.c +++ b/lib/dictd.c @@ -322,6 +322,7 @@ static void ask_server(DictData *dd) } 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 @@ gboolean dict_dictd_get_list(GtkWidget *button, DictData *dd) send_command(fd, "show databases"); + dd->query_status = NO_ERROR; + /* read all server output */ answer = buffer = get_answer(dd, fd); close(fd);