mirror of
https://github.com/troglobit/editline.git
synced 2025-09-18 02:08:08 +08:00
Coding style and const fixes to last PR
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -1138,7 +1138,7 @@ static void hist_add(const char *p)
|
||||
if (s == NULL)
|
||||
return;
|
||||
|
||||
// Don't add secret information in history
|
||||
/* Don't add secret information in history */
|
||||
if (rl_check_secret(s))
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user