vdagentd: Some spelling fixes in comments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Francois Gouget <fgouget@xxxxxxxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]