[PATCH spice-streaming-agent] Use true/false for bool value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Follow up due to read_command declaration change.

Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]