[Spice-devel] [PATCH spice-streaming-agent v4 3/5] Switch 'blocking' flag to bool
Christophe de Dinechin
christophe at dinechin.org
Fri Nov 10 15:15:44 UTC 2017
From: Christophe de Dinechin <dinechin at redhat.com>
Signed-off-by: Christophe de Dinechin <dinechin at redhat.com>
---
src/spice-streaming-agent.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
2.13.5 (Apple Git-94)
More information about the Spice-devel
mailing list