From: Richard Jones Date: Mon, 6 Jul 2009 15:01:23 +0000 (+0100) Subject: Add a debug message to the library cancellation path. X-Git-Tag: 1.0.56~8^2~3 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=82c7e685bf71c70bd1c1c0b9db002157e5788db4;p=libguestfs.git Add a debug message to the library cancellation path. --- diff --git a/src/guestfs.c b/src/guestfs.c index bbbd4ea..c15a360 100644 --- a/src/guestfs.c +++ b/src/guestfs.c @@ -2287,6 +2287,10 @@ guestfs__receive_file_sync (guestfs_h *g, const char *filename) char fbuf[4]; uint32_t flag = GUESTFS_CANCEL_FLAG; + if (g->verbose) + fprintf (stderr, "%s: waiting for daemon to acknowledge cancellation\n", + __func__); + xdrmem_create (&xdr, fbuf, sizeof fbuf, XDR_ENCODE); xdr_uint32_t (&xdr, &flag); xdr_destroy (&xdr);