Minor function name change

This commit is contained in:
abitmore 2019-05-08 05:23:02 -04:00
parent bac31e3822
commit 51747090a8

View file

@ -260,7 +260,7 @@ static int cli_check_secret(const char *source)
/** /**
* Get next character from stdin, or EOF if got a SIGINT signal * Get next character from stdin, or EOF if got a SIGINT signal
*/ */
static int interruptable_getc(void) static int interruptible_getc(void)
{ {
int r; int r;
char c; char c;
@ -279,7 +279,7 @@ void cli::start()
rl_set_complete_func(my_rl_complete); rl_set_complete_func(my_rl_complete);
rl_set_list_possib_func(cli_completion); rl_set_list_possib_func(cli_completion);
//rl_set_check_secret_func(cli_check_secret); //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"); static fc::thread getline_thread("getline");
_getline_thread = &getline_thread; _getline_thread = &getline_thread;