[Spice-commits] server/char-device.h server/reds.c
Frediano Ziglio
fziglio at kemper.freedesktop.org
Wed Jun 1 15:10:22 UTC 2016
server/char-device.h | 4 ++--
server/reds.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 8a314520ccacb26f7692707bada1985d1dd1acf7
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Tue May 31 10:38:52 2016 +0100
Fix some typos in comments
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Jonathon Jongsma <jjongsma at redhat.com>
diff --git a/server/char-device.h b/server/char-device.h
index 39bff4e..2dd848f 100644
--- a/server/char-device.h
+++ b/server/char-device.h
@@ -175,9 +175,9 @@ int red_char_device_restore(RedCharDevice *dev,
* This routine is a workaround for a bad tokens management in the vdagent
* protocol:
* The client tokens' are set only once, when the main channel is initialized.
- * Instead, it would have been more appropriate to reset them upon AGEN_CONNECT.
+ * Instead, it would have been more appropriate to reset them upon AGENT_CONNECT.
* The client tokens are tracked as part of the RedCharDeviceClient. Thus,
- * in order to be backwartd compatible with the client, we need to track the tokens
+ * in order to be backward compatible with the client, we need to track the tokens
* event when the agent is detached. We don't destroy the char_device state, and
* instead we just reset it.
* In addition, there is a misshandling of AGENT_TOKENS message in spice-gtk: it
diff --git a/server/reds.c b/server/reds.c
index 827ba2a..60e6092 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -546,7 +546,7 @@ static void reds_reset_vdp(RedsState *reds)
/* resetting and not destroying the dev as a workaround for a bad
* tokens management in the vdagent protocol:
* The client tokens' are set only once, when the main channel is initialized.
- * Instead, it would have been more appropriate to reset them upon AGEN_CONNECT.
+ * Instead, it would have been more appropriate to reset them upon AGENT_CONNECT.
* The client tokens are tracked as part of the RedCharDeviceClient. Thus,
* in order to be backward compatible with the client, we need to track the tokens
* even if the agent is detached. We don't destroy the char_device, and
More information about the Spice-commits
mailing list