summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe de Dinechin <dinechin@redhat.com>2017-11-10 16:15:44 +0100
committerFrediano Ziglio <fziglio@redhat.com>2017-11-10 15:37:15 +0000
commit965cba1e044928c85acc422b70e259e7b0810b33 (patch)
treed128f0b5a1c0e72216d5bd871f11e656a984f4df
parenteba7b44d4c8e36d733f75ee73aff19d43198ad9a (diff)
Switch 'blocking' flag to bool
Signed-off-by: Christophe de Dinechin <dinechin@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r--src/spice-streaming-agent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spice-streaming-agent.cpp b/src/spice-streaming-agent.cpp
index 1090517..973192b 100644
--- a/src/spice-streaming-agent.cpp
+++ b/src/spice-streaming-agent.cpp
@@ -146,7 +146,7 @@ static int read_command_from_device(void)
return 1;
}
-static int read_command(int blocking)
+static int read_command(bool blocking)
{
int fd, n=1;
int timeout = blocking?-1:0;