Follow up due to read_command declaration change.

Signed-off-by: Frediano Ziglio <fzig...@redhat.com>
---
 src/spice-streaming-agent.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/spice-streaming-agent.cpp b/src/spice-streaming-agent.cpp
index d5984bc..23b9768 100644
--- a/src/spice-streaming-agent.cpp
+++ b/src/spice-streaming-agent.cpp
@@ -355,7 +355,7 @@ do_capture(const char *streamport, FILE *f_log)
     unsigned int frame_count = 0;
     while (! quit) {
         while (!quit && !streaming_requested) {
-            if (read_command(1) < 0) {
+            if (read_command(true) < 0) {
                 syslog(LOG_ERR, "FAILED to read command\n");
                 goto done;
             }
@@ -406,7 +406,7 @@ do_capture(const char *streamport, FILE *f_log)
                 break;
             }
             //usleep(1);
-            if (read_command(0) < 0) {
+            if (read_command(false) < 0) {
                 syslog(LOG_ERR, "FAILED to read command\n");
                 goto done;
             }
-- 
2.13.6

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to