odyssey: fix show servers callback arg

This commit is contained in:
Dmitry Simonenko 2018-12-07 15:28:32 +03:00
parent 0504a34b52
commit 47b65e8ef2
1 changed files with 2 additions and 1 deletions

View File

@ -402,7 +402,8 @@ od_console_show_servers(od_client_t *client)
if (rc == -1)
return -1;
od_router_foreach(router, od_console_show_servers_cb, NULL);
void *argv[] = { client };
od_router_foreach(router, od_console_show_servers_cb, argv);
/* ready */
msg = kiwi_be_write_complete("SHOW", 5);