[Spice-devel] [PATCH spice-server 2/4] test-playback: Update misleading comments

Frediano Ziglio fziglio at redhat.com
Fri Dec 21 08:58:17 UTC 2018


We are waiting for a client connection, channel is already there

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

diff --git a/server/tests/test-playback.c b/server/tests/test-playback.c
index 32f091ef..a62b8299 100644
--- a/server/tests/test-playback.c
+++ b/server/tests/test-playback.c
@@ -72,12 +72,12 @@ static void playback_timer_cb(SPICE_GNUC_UNUSED void *opaque)
 
     get_frame();
     if (!frame) {
-        /* continue waiting until there is a channel */
+        /* continue waiting until there is a client */
         core->timer_start(playback_timer, 100);
         return;
     }
 
-    /* we have a channel */
+    /* we have a client */
     gettimeofday(&cur, NULL);
     cur_usec = cur.tv_usec + cur.tv_sec * 1e6;
     if (last_sent_usec == 0) {
-- 
2.17.2



More information about the Spice-devel mailing list