Fix verbose packet dumping functions.
authorRichard Jones <rjones@trick.home.annexia.org>
Thu, 17 Sep 2009 13:50:04 +0000 (14:50 +0100)
committerRichard Jones <rjones@trick.home.annexia.org>
Thu, 17 Sep 2009 15:01:52 +0000 (16:01 +0100)
commitbb02f0fbe80ef093731bc9a6a407f1edaccf991d
treeca2a93fd4e01c830c8c789b61ae104190caecd66
parent5ccae24e06c52977f8b71d00c19f1100c1fa9c4c
Fix verbose packet dumping functions.

Add the configure parameter --enable-packet-dump so that this
code can be enabled without editing the source.

This code is normally commented out, because it is too verbose
unless you happen to be debugging the underlying protocol.  Because
it is normally commented out, I found it had bit-rotted slightly.
This commit also fixes the obvious problems.
configure.ac
daemon/configure.ac
daemon/proto.c
src/guestfs.c