char-device: improved comment

- fix typo;
- simplify sentence.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
Frediano Ziglio 2016-05-09 13:55:14 +01:00
parent 8271168a35
commit 7c79c0f6a8

View File

@ -71,7 +71,7 @@ struct RedCharDeviceClass
* has been completely written to it */
void (*on_free_self_token)(void *opaque);
/* This cb is called if it is recommanded that a client will be removed
/* This cb is called if it is recommended to remove the client
* due to slow flow or due to some other error.
* The called instance should disconnect the client, or at least the corresponding channel */
void (*remove_client)(RedClient *client, void *opaque);