reds: Fix typos in comments

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
This commit is contained in:
Frediano Ziglio 2019-02-09 16:37:57 +00:00
parent 0a415abf35
commit 327a677b0d
2 changed files with 2 additions and 2 deletions

View File

@ -259,7 +259,7 @@ static int dispatcher_handle_single_read(Dispatcher *dispatcher)
return 0;
}
if (ret == 0) {
/* no messsage */
/* no message */
return 0;
}
if (type >= dispatcher->priv->max_message_type) {

View File

@ -1612,7 +1612,7 @@ bool reds_handle_migrate_data(RedsState *reds, MainChannelClient *mcc,
}
}
} else {
/* restore agent starte when the agent gets attached */
/* restore agent starts when the agent gets attached */
spice_debug("saving mig_data");
spice_assert(agent_dev->priv->plug_generation == 0);
agent_dev->priv->mig_data = g_memdup(mig_data, size);