X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Flog.c;fp=src%2Flog.c;h=5cce3513da0af0cc061051d5598f530382d56291;hb=da99855784988c6bf125799f47c57d888bbc25f1;hp=e3c4d452a05094fb0e93784c0901d2f5e620657d;hpb=ee9243cb2ffba87ac8db17f15df44735b52f3bd7;p=wget diff --git a/src/log.c b/src/log.c index e3c4d452..5cce3513 100644 --- a/src/log.c +++ b/src/log.c @@ -604,7 +604,7 @@ count_nonprint (const char *source) const char *p; int cnt; for (p = source, cnt = 0; *p; p++) - if (!ISPRINT (*p)) + if (!c_isprint (*p)) ++cnt; return cnt; } @@ -644,7 +644,7 @@ copy_and_escape (const char *source, char *dest, char escape, int base) { case 8: while ((c = *from++) != '\0') - if (ISPRINT (c)) + if (c_isprint (c)) *to++ = c; else { @@ -656,7 +656,7 @@ copy_and_escape (const char *source, char *dest, char escape, int base) break; case 16: while ((c = *from++) != '\0') - if (ISPRINT (c)) + if (c_isprint (c)) *to++ = c; else {