Coding style and const fixes to last PR

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2018-10-24 08:28:34 +02:00
parent cddd8d8de0
commit fbb1f8800a
4 changed files with 19 additions and 24 deletions

View File

@@ -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;