]> diplodocus.org Git - nmh/blobdiff - sbr/base64.c
Remove the unused argument from mts_init() (as far as I can tell,
[nmh] / sbr / base64.c
index 9047eb5f0a855fbaa26234998c7fe5b38ad82568..eb3c8ea2de79f6c0b34733359c535c9cb343476e 100644 (file)
@@ -339,7 +339,7 @@ hexify (const unsigned char *input, size_t len, char **output) {
     size_t i;
 
     for (i = 0; i < len; ++i, ++cp) {
-        if (isprint(*cp)) {
+        if (isascii(*cp) && isprint(*cp)) {
             charstring_push_back (tmp, (const char) *cp);
         } else {
             char s[16];