From 63c275b6dd5fdbeef61eec3c264a09cf65882fb4 Mon Sep 17 00:00:00 2001 From: darkcoven Date: Tue, 9 Sep 2014 16:10:39 +0200 Subject: [PATCH] Raw: fix bug in isStringPrintable() --- raw/src/str.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raw/src/str.c b/raw/src/str.c index 1ca2c44..5ae1fc8 100644 --- a/raw/src/str.c +++ b/raw/src/str.c @@ -106,7 +106,7 @@ bool isStringPrintable (const char *str, unsigned int len) const char *p; for (p = str; len > 0; len--) { - if (!isprint(*p)) + if (!isprint(*p++)) return false; } -- 2.39.5