[Spice-devel] vdagentd: Some spelling fixes in comments

Christophe Fergeau cfergeau at redhat.com
Fri Apr 7 08:48:32 UTC 2017


Acked-by: Christophe Fergeau <cfergeau at redhat.com>

On Fri, Apr 07, 2017 at 10:20:52AM +0200, Francois Gouget wrote:
> Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
> ---
>  src/vdagentd/console-kit.c | 2 +-
>  src/vdagentd/vdagentd.c    | 2 +-
>  src/vdagentd/virtio-port.h | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/vdagentd/console-kit.c b/src/vdagentd/console-kit.c
> index a939f38..9e46ad5 100644
> --- a/src/vdagentd/console-kit.c
> +++ b/src/vdagentd/console-kit.c
> @@ -168,7 +168,7 @@ si_dbus_read_signals(struct session_info *info)
>              dbus_message_iter_init(message, &iter);
>              type = dbus_message_iter_get_arg_type(&iter);
>              /* Session should be an object path, but there is a bug in
> -               ConsoleKit where it sends a string rather then an object_path
> +               ConsoleKit where it sends a string rather than an object_path
>                 accept object_path too in case the bug ever gets fixed */
>              if (type == DBUS_TYPE_STRING || type == DBUS_TYPE_OBJECT_PATH) {
>                  dbus_message_iter_get_basic(&iter, &session);
> diff --git a/src/vdagentd/vdagentd.c b/src/vdagentd/vdagentd.c
> index aef5b96..0c54733 100644
> --- a/src/vdagentd/vdagentd.c
> +++ b/src/vdagentd/vdagentd.c
> @@ -240,7 +240,7 @@ static void do_client_capabilities(struct vdagent_virtio_port *vport,
>      }
>      memcpy(capabilities, caps->caps, capabilities_size * sizeof(uint32_t));
>      if (caps->request) {
> -        /* Report the previous client has disconneced. */
> +        /* Report the previous client has disconnected. */
>          do_client_disconnect();
>          if (debug)
>              syslog(LOG_DEBUG, "New client connected");
> diff --git a/src/vdagentd/virtio-port.h b/src/vdagentd/virtio-port.h
> index 810ea8a..f899e30 100644
> --- a/src/vdagentd/virtio-port.h
> +++ b/src/vdagentd/virtio-port.h
> @@ -46,7 +46,7 @@ typedef int (*vdagent_virtio_port_read_callback)(
>        this callback has completed!
>     2) This callback is always called, even if the disconnect is initiated
>        by the vdagent_virtio_port user through returning -1 from a read
> -      callback, or by explictly calling vdagent_virtio_port_destroy */
> +      callback, or by explicitly calling vdagent_virtio_port_destroy */
>  typedef void (*vdagent_virtio_port_disconnect_callback)(
>      struct vdagent_virtio_port *conn);
>  
> -- 
> 2.11.0
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170407/67b83d4d/attachment-0001.sig>


More information about the Spice-devel mailing list