[Spice-devel] [PATCH spice-streaming-agent] Use true/false for bool value
Frediano Ziglio
fziglio at redhat.com
Wed Nov 15 09:44:35 UTC 2017
Follow up due to read_command declaration change.
Signed-off-by: Frediano Ziglio <fziglio at 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
More information about the Spice-devel
mailing list