diff --git a/src/rpc/cli.cpp b/src/rpc/cli.cpp index 2829066..ac518c3 100644 --- a/src/rpc/cli.cpp +++ b/src/rpc/cli.cpp @@ -260,7 +260,7 @@ static int cli_check_secret(const char *source) /** * Get next character from stdin, or EOF if got a SIGINT signal */ -static int interruptable_getc(void) +static int interruptible_getc(void) { int r; char c; @@ -279,7 +279,7 @@ void cli::start() rl_set_complete_func(my_rl_complete); rl_set_list_possib_func(cli_completion); //rl_set_check_secret_func(cli_check_secret); - rl_set_getc_func(interruptable_getc); + rl_set_getc_func(interruptible_getc); static fc::thread getline_thread("getline"); _getline_thread = &getline_thread;