src/common.c: psf_log_printf should not emit ASCII control characters with %M

This commit is contained in:
Mads Kiilerich 2022-10-26 13:22:44 +02:00 committed by evpobr
parent 1534936c10
commit e2c38cd5c4

View File

@ -375,7 +375,7 @@ psf_log_printf (SF_PRIVATE *psf, const char *format, ...)
strptr = istr ;
while (*strptr)
{ c = *strptr++ ;
log_putchar (psf, c) ;
log_putchar (psf, psf_isprint (c) ? c : '.') ;
} ;
break ;