Good one, ack.

Regards,

Hans


On 06/28/2012 10:06 AM, Yonit Halperin wrote:
Add the given tokens instead of overriding the existing ones.
---
  gtk/channel-main.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gtk/channel-main.c b/gtk/channel-main.c
index fc6c97e..70861e6 100644
--- a/gtk/channel-main.c
+++ b/gtk/channel-main.c
@@ -1464,7 +1464,7 @@ static void main_handle_agent_token(SpiceChannel 
*channel, SpiceMsgIn *in)
      SpiceMsgMainAgentTokens *tokens = spice_msg_in_parsed(in);
      SpiceMainChannelPrivate *c = SPICE_MAIN_CHANNEL(channel)->priv;

-    c->agent_tokens = tokens->num_tokens;
+    c->agent_tokens += tokens->num_tokens;
      agent_send_msg_queue(SPICE_MAIN_CHANNEL(channel));
  }



_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to