[telepathy-gabble/master] Correct indentation and style of jingle_state_machine_dance

Will Thompson will.thompson at collabora.co.uk
Tue Mar 31 11:18:22 PDT 2009


---
 src/jingle-session.c |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/src/jingle-session.c b/src/jingle-session.c
index a5d5055..2bf497d 100644
--- a/src/jingle-session.c
+++ b/src/jingle-session.c
@@ -1044,14 +1044,16 @@ static HandlerFunc handlers[] = {
 };
 
 static void
-jingle_state_machine_dance (GabbleJingleSession *sess, JingleAction action,
-    LmMessageNode *node, GError **error)
-  {
-    GabbleJingleSessionPrivate *priv = sess->priv;
-
-    /* parser should've checked this already */
-    g_assert (action_is_allowed (action, priv->state));
-    g_assert (handlers[action] != NULL);
+jingle_state_machine_dance (GabbleJingleSession *sess,
+    JingleAction action,
+    LmMessageNode *node,
+    GError **error)
+{
+  GabbleJingleSessionPrivate *priv = sess->priv;
+
+  /* parser should've checked this already */
+  g_assert (action_is_allowed (action, priv->state));
+  g_assert (handlers[action] != NULL);
 
   handlers[action] (sess, node, error);
 }
-- 
1.5.6.5




More information about the telepathy-commits mailing list