diff options
Diffstat (limited to 'src/spice-streaming-agent.cpp')
-rw-r--r-- | src/spice-streaming-agent.cpp | 4 |
1 files 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; } |