mirror of
https://github.com/troglobit/editline.git
synced 2025-09-18 02:08:08 +08:00
Revert "Merge pull request #21 from cogutvalera/issue_1171"
This reverts commitcddd8d8de0
, reversing changes made to4ec7d26a9d
.
This commit is contained in:
@@ -397,21 +397,6 @@ char *rl_complete(char *token, int *match)
|
||||
return el_filename_complete(token, match);
|
||||
}
|
||||
|
||||
static rl_check_secret_func_t *el_check_secret_func = NULL;
|
||||
/* For compatibility with the Heimdal project. */
|
||||
rl_check_secret_func_t *rl_set_check_secret_func(rl_check_secret_func_t *func)
|
||||
{
|
||||
rl_check_secret_func_t *old = el_check_secret_func;
|
||||
el_check_secret_func = func;
|
||||
return old;
|
||||
}
|
||||
int rl_check_secret(char *source)
|
||||
{
|
||||
if (el_check_secret_func)
|
||||
return el_check_secret_func(source);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static rl_list_possib_func_t *el_list_possib_func = NULL;
|
||||
|
||||
/* For compatibility with the Heimdal project. */
|
||||
|
Reference in New Issue
Block a user