summaryrefslogtreecommitdiffstats
path: root/server/reds.c
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2015-07-31 17:32:07 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2015-08-11 17:24:36 +0200
commit3c39371b57df0dd19017757c2bda35265f0d297f (patch)
tree2bfdad24f17bc452b04e15dc67d55387c59ac199 /server/reds.c
parentff97799487284816a44403ac4406c19e30bf5fa2 (diff)
downloadspice-3c39371b57df0dd19017757c2bda35265f0d297f.tar.gz
spice-3c39371b57df0dd19017757c2bda35265f0d297f.tar.xz
spice-3c39371b57df0dd19017757c2bda35265f0d297f.zip
Fix typo in comments
Diffstat (limited to 'server/reds.c')
-rw-r--r--server/reds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/reds.c b/server/reds.c
index 978832e7..c07cb6cd 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -394,8 +394,8 @@ static void reds_reset_vdp(void)
/* Throw away pending chunks from the current (if any) and future
* messages written by the client.
* TODO: client should clear its agent messages queue when the agent
- * is disconnect. Currently, when and agent gets disconnected and reconnected,
- * messeges that were directed to the previous instance of the agent continues
+ * is disconnected. Currently, when an agent gets disconnected and reconnected,
+ * messages that were directed to the previous instance of the agent continue
* to be sent from the client. This TODO will require server, protocol, and client changes */
state->write_filter.result = AGENT_MSG_FILTER_DISCARD;
state->write_filter.discard_all = TRUE;