git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51ecd63
)
Add a debug message to the library cancellation path.
author
Richard Jones
<rjones@trick.home.annexia.org>
Mon, 6 Jul 2009 15:01:23 +0000
(16:01 +0100)
committer
Richard Jones
<rjones@trick.home.annexia.org>
Mon, 6 Jul 2009 15:01:23 +0000
(16:01 +0100)
src/guestfs.c
patch
|
blob
|
history
diff --git
a/src/guestfs.c
b/src/guestfs.c
index
bbbd4ea
..
c15a360
100644
(file)
--- 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);