[Libguestfs] [PATCH miniexpect 1/2] When debugging, escape the buffer output.

Pino Toscano ptoscano at redhat.com
Thu Oct 12 14:24:27 UTC 2017


On Wednesday, 11 October 2017 17:23:44 CEST Richard W.M. Jones wrote:
> +#if DEBUG
> +/* Print escaped buffer to fp. */
> +static void
> +debug_buffer (FILE *fp, char *buf)

'buf' is read-only here, so it ought to be 'const'.

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20171012/82e02760/attachment.sig>


More information about the Libguestfs mailing list