aboutsummaryrefslogtreecommitdiff
path: root/src/proone-hostinfod.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/proone-hostinfod.c')
-rw-r--r--src/proone-hostinfod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proone-hostinfod.c b/src/proone-hostinfod.c
index f9e2d89..1726b7c 100644
--- a/src/proone-hostinfod.c
+++ b/src/proone-hostinfod.c
@@ -909,13 +909,13 @@ static bool handle_db_qe (
const char *pr[2] = { qv.cred_id, qv.cred_pw };
for (const char *p = pr[0]; *p != 0; p += 1) {
- if (!isprint(*p)) {
+ if (!prne_cisspace(*p)) {
pr[0] = "(bin)";
break;
}
}
for (const char *p = pr[1]; *p != 0; p += 1) {
- if (!isprint(*p)) {
+ if (!prne_cisspace(*p)) {
pr[1] = "(bin)";
break;
}