[Spice-devel] [PATCH spice-streaming-agent] Use true/false for bool value

Christophe Fergeau cfergeau at redhat.com
Thu Nov 16 11:49:18 UTC 2017


Acked-by: Christophe Fergeau <cfergeau at redhat.com>

On Wed, Nov 15, 2017 at 09:44:35AM +0000, Frediano Ziglio wrote:
> 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
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20171116/c52f67e4/attachment.sig>


More information about the Spice-devel mailing list