[Spice-devel] [PATCH] char-device: fix typo in comment

Pavel Grunt pgrunt at redhat.com
Wed May 4 11:59:50 UTC 2016


On Wed, 2016-05-04 at 12:04 +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  server/char-device.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/server/char-device.h b/server/char-device.h
> index d05b1fd..25fa6ff 100644
> --- a/server/char-device.h
> +++ b/server/char-device.h
> @@ -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 that a client will be removed
Maybe change the sentence to:
 "This cb is called if it is recommended to remove the client" ?

But it is up to you,
ack

Pavel

>       * 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);


More information about the Spice-devel mailing list