[Spice-devel] [PATCH spice-server] replay: Update comment

Frediano Ziglio fziglio at redhat.com
Fri Nov 11 12:06:47 UTC 2016


Function just return the command, has no ext_cmd parameter to fill.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 server/red-replay-qxl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/red-replay-qxl.c b/server/red-replay-qxl.c
index 3dd1517..e531114 100644
--- a/server/red-replay-qxl.c
+++ b/server/red-replay-qxl.c
@@ -1417,8 +1417,8 @@ replay_handle_audio(SpiceReplay *replay, int type, uint64_t timestamp)
 
 /*
  * NOTE: This reads from a saved file and performs all io actions, calling the
- * dispatcher, until it sees a command, at which point it returns it via the
- * last parameter [ext_cmd]. Hence you cannot call this from the worker thread
+ * dispatcher, until it sees a command, at which point it returns it.
+ * Hence you cannot call this from the worker thread
  * since it will block reading from the dispatcher pipe.
  */
 SPICE_GNUC_VISIBLE QXLCommandExt* spice_replay_next_cmd(SpiceReplay *replay,
-- 
2.7.4



More information about the Spice-devel mailing list