* fhandler.cc (fhandler_base::read): Don't debug_printf garbage when
copied_chars is zero.
This commit is contained in:
@ -758,6 +758,7 @@ fhandler_base::read (void *in_ptr, size_t& len)
|
||||
__small_sprintf (p, c >= 33 && c <= 127 ? " %c" : " %p", c);
|
||||
p += strlen (p);
|
||||
}
|
||||
*p = '\0';
|
||||
debug_printf ("read %d bytes (%s%s)", copied_chars, buf,
|
||||
copied_chars > 16 ? " ..." : "");
|
||||
}
|
||||
|
Reference in New Issue
Block a user