git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
protocol: Handle progress notification messages during FileIn.
[libguestfs.git]
/
daemon
/
proto.c
diff --git
a/daemon/proto.c
b/daemon/proto.c
index
f3a3b26
..
1fdb26c
100644
(file)
--- a/
daemon/proto.c
+++ b/
daemon/proto.c
@@
-425,6
+425,7
@@
receive_file (receive_cb cb, void *opaque)
return 0; /* end of file */
}
return 0; /* end of file */
}
+ /* Note that the callback can generate progress messages. */
if (cb)
r = cb (opaque, chunk.data.data_val, chunk.data.data_len);
else
if (cb)
r = cb (opaque, chunk.data.data_val, chunk.data.data_len);
else