[Spice-devel] [PATCH spice-streaming-agent v4 3/5] Switch 'blocking' flag to bool
Frediano Ziglio
fziglio at redhat.com
Fri Nov 10 15:42:30 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;
Acked-by: Frediano Ziglio <fziglio at redhat.com>
Frediano
More information about the Spice-devel
mailing list