Skip to content
Snippets Groups Projects
Commit 1290e4b7 authored by Constantin P.'s avatar Constantin P. 💬
Browse files

Syntax error fixed

parent 4edeab21
No related branches found
No related tags found
No related merge requests found
......@@ -997,7 +997,8 @@ int com_global_db(int a_argc, char ** a_argv, void **a_str_reply)
dap_list_t *l_group_list = dap_global_db_driver_get_groups_by_mask("*");
size_t l_count = 0;
for (dap_list_t *l_list = l_group_list; l_list; l_list = dap_list_next(l_list), ++l_count) {
dap_string_append_printf(l_ret_str, "\t%-40s : %zu records\n", (char*)l_list->data, dap_global_db_driver_count((char*)l_list->data, 1));
dap_string_append_printf(l_ret_str, "\t%-40s : %zu records\n",
(char*)l_list->data, dap_global_db_driver_count((char*)l_list->data, c_dap_global_db_driver_hash_blank));
}
dap_cli_server_cmd_set_reply_text(a_str_reply, "Group list:\n%sTotal count: %zu\n", l_ret_str->str, l_count);
dap_string_free(l_ret_str, true);
......
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