[telepathy-gabble/master] fix phrasing of some comments

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Wed Sep 2 02:44:36 PDT 2009


---
 lib/loudmouth/lm-connection.c   |    2 +-
 lib/loudmouth/lm-message-node.c |    2 +-
 src/connection.c                |    7 ++++---
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/lib/loudmouth/lm-connection.c b/lib/loudmouth/lm-connection.c
index 667229d..fbed23f 100644
--- a/lib/loudmouth/lm-connection.c
+++ b/lib/loudmouth/lm-connection.c
@@ -66,7 +66,7 @@ lm_connection_register_message_handler (LmConnection *connection,
 {
   if (connection->porter == NULL)
     {
-      /* Loudmouth allows to register handler before the connection is
+      /* Loudmouth lets you register handlers before the connection is
        * connected. We can't do currently do that with Wocky so we store the
        * handler and will register it once lm_connection_set_porter is called.*/
       GSList *found;
diff --git a/lib/loudmouth/lm-message-node.c b/lib/loudmouth/lm-message-node.c
index 950491d..7659b1a 100644
--- a/lib/loudmouth/lm-message-node.c
+++ b/lib/loudmouth/lm-message-node.c
@@ -62,7 +62,7 @@ copy_node (WockyXmppNode *node)
 LmMessageNode *
 lm_message_node_ref (LmMessageNode *node)
 {
-  /* WockyXmppNode are not ref counted. Return a copy of the node */
+  /* WockyXmppNode is not ref counted. Return a copy of the node */
   return copy_node (node);
 }
 
diff --git a/src/connection.c b/src/connection.c
index 4e96fa5..3425a21 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -1433,9 +1433,10 @@ connector_error_disconnect (GabbleConnection *self,
 /**
  * connector_connected
  *
- * Stage 2 of connecting, this function if called once the connect operation
- * has been finised. It checks if the connection succeed, create and start the
- * WockyPorter. It sends a discovery request to find the server's features.
+ * Stage 2 of connecting, this function is called once the connect operation
+ * has finished. It checks if the connection succeeded, creates and starts
+ * the WockyPorter, then sends a discovery request to find the
+ * server's features.
  */
 static void
 connector_connected (GabbleConnection *self,
-- 
1.5.6.5




More information about the telepathy-commits mailing list