Skip to content
Snippets Groups Projects
Commit de9c38a9 authored by Enrico Tröger's avatar Enrico Tröger
Browse files

* Fix broken DICTD search due to wrongly initialised status code (introduced in last commit).

(Old svn revision: 5315)
parent 4b5962dc
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment