mirror of https://github.com/yandex/odyssey.git
odyssey: fix show servers callback arg
This commit is contained in:
parent
0504a34b52
commit
47b65e8ef2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue