summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2015-01-14 11:48:24 -0600
committerFabiano FidĂȘncio <fidencio@redhat.com>2015-02-23 23:00:42 +0100
commit196a3c3d9a2e5ef15c518f7d5a97d63d80f8942f (patch)
tree3df9f1922712dc7a21c3ed4717c4a1406ba73559
parentb6e6a275b58ad442c6d0928d81cc80f4551c1f3b (diff)
downloadspice-196a3c3d9a2e5ef15c518f7d5a97d63d80f8942f.tar.gz
spice-196a3c3d9a2e5ef15c518f7d5a97d63d80f8942f.tar.xz
spice-196a3c3d9a2e5ef15c518f7d5a97d63d80f8942f.zip
Fix typo in comments
-rw-r--r--server/reds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/reds.c b/server/reds.c
index 0c40980e..208a3673 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;