diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-07-28 16:35:51 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-08-07 16:50:43 +0200 |
commit | 4d51150ca0aae979718ac10030df85421b763cd1 (patch) | |
tree | a824a83feefca6695fbe1072b3d724290b07af1f /dpi/datauri.c | |
parent | a9950b3aca2a264e0ee1da1e2a29d3be11e6606c (diff) |
Make Dillo C99 standard compliant
Reviewed-by: dogma
Diffstat (limited to 'dpi/datauri.c')
-rw-r--r-- | dpi/datauri.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dpi/datauri.c b/dpi/datauri.c index 0e3560ec..f968baa2 100644 --- a/dpi/datauri.c +++ b/dpi/datauri.c @@ -20,6 +20,7 @@ #include "../dpip/dpip.h" #include "dpiutil.h" +#include "../src/misc.h" /* * Debugging macros @@ -44,7 +45,7 @@ static void b64strip_illegal_chars(unsigned char* str) MSG("len=%d{%s}\n", strlen((char*)str), str); for (p = s; (*p = *s); ++s) { - if (isascii(*p) && (isalnum(*p) || strchr("+/=", *p))) + if (d_isascii(*p) && (isalnum(*p) || strchr("+/=", *p))) ++p; } |