Commit 05765d4b authored by arianna-aondio's avatar arianna-aondio Committed by Lasse Karstensen

%hh length modifier added for non-printabale chars.

parent 3fbeda80
...@@ -222,7 +222,7 @@ vsb_esc_cat(struct vsb *sb, const char *b, const char *e) ...@@ -222,7 +222,7 @@ vsb_esc_cat(struct vsb *sb, const char *b, const char *e)
break; break;
} }
} else } else
VSB_printf(sb, "\\x%02x", *b); VSB_printf(sb, "\\x%02hhx", *b);
} }
return (VSB_error(sb)); return (VSB_error(sb));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment