* miscutil.c (make_printable_string): Fix bug where some control

characters lose part of their ASCII representation.
This commit is contained in:
David Shaw 2006-04-17 20:54:15 +00:00
parent b2f4b15b7c
commit 45c1414a2f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-04-17 David Shaw <dshaw@jabberwocky.com>
* miscutil.c (make_printable_string): Fix bug where some control
characters lose part of their ASCII representation.
2006-04-11 David Shaw <dshaw@jabberwocky.com>
* memory.c (realloc): Revert m_guard fix and stick an #error in

View File

@ -313,7 +313,7 @@ make_printable_string( const byte *p, size_t n, int delim )
*d++ = '0';
else {
sprintf(d, "x%02x", *p );
d += 2;
d += 3;
}
}
else