[Spice-devel] [PATCH spice-html5] Use a modern number of agent tokens.

Christophe Fergeau cfergeau at redhat.com
Thu Oct 30 03:51:51 PDT 2014


On Wed, Oct 29, 2014 at 04:35:23PM -0500, Jeremy White wrote:
> This keeps an XSpice server from spin looping, which it will do if
> data is presented, but num_send_tokens == 0.

This is consistent with what spice-gtk is doing, ACK.

Christophe

> 
> Signed-off-by: Jeremy White <jwhite at codeweavers.com>
> ---
>  main.js |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/main.js b/main.js
> index 91f1963..e487551 100644
> --- a/main.js
> +++ b/main.js
> @@ -204,7 +204,7 @@ SpiceMainConn.prototype.connect_agent = function()
>  {
>      this.agent_connected = true;
>  
> -    var agent_start = new SpiceMsgcMainAgentStart(0);
> +    var agent_start = new SpiceMsgcMainAgentStart(~0);
>      var mr = new SpiceMiniData();
>      mr.build_msg(SPICE_MSGC_MAIN_AGENT_START, agent_start);
>      this.send_msg(mr);
> -- 
> 1.7.10.4
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20141030/d31c3b20/attachment.sig>


More information about the Spice-devel mailing list