about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-02-10 23:58:57 +0000
committerJames Booth <boothj5@gmail.com>2012-02-10 23:58:57 +0000
commitae84c92d230d752dbb27a9cbd17f479873438391 (patch)
tree10afb1844fc303e274e713047dbc80212aa23073
parent9db56f4fc160f15fd918aca9da09f7f1539bc420 (diff)
downloadprofani-tty-ae84c92d230d752dbb27a9cbd17f479873438391.tar.gz
Tidy up jabber.c
-rw-r--r--jabber.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/jabber.c b/jabber.c
index 67280088..65e09677 100644
--- a/jabber.c
+++ b/jabber.c
@@ -13,12 +13,12 @@ static xmpp_ctx_t *_ctx;
 static xmpp_conn_t *_conn;
 
 // private XMPP handlers
-static void _jabber_conn_handler(xmpp_conn_t * const conn, const xmpp_conn_event_t status,
-          const int error, xmpp_stream_error_t * const stream_error,
-          void * const userdata);
+static void _jabber_conn_handler(xmpp_conn_t * const conn, 
+    const xmpp_conn_event_t status, const int error, 
+    xmpp_stream_error_t * const stream_error, void * const userdata);
 
-static int _jabber_message_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza,
-    void * const userdata);
+static int _jabber_message_handler(xmpp_conn_t * const conn, 
+    xmpp_stanza_t * const stanza, void * const userdata);
 
 static int _roster_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza,
     void * const userdata);
@@ -88,8 +88,8 @@ void jabber_roster_request(void)
     xmpp_stanza_release(iq);
 }
 
-static int _jabber_message_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza,
-    void * const userdata)
+static int _jabber_message_handler(xmpp_conn_t * const conn, 
+    xmpp_stanza_t * const stanza, void * const userdata)
 {
     char *message;
 
@@ -106,9 +106,9 @@ static int _jabber_message_handler(xmpp_conn_t * const conn, xmpp_stanza_t * con
     return 1;
 }
 
-static void _jabber_conn_handler(xmpp_conn_t * const conn, const xmpp_conn_event_t status,
-          const int error, xmpp_stream_error_t * const stream_error,
-          void * const userdata)
+static void _jabber_conn_handler(xmpp_conn_t * const conn, 
+    const xmpp_conn_event_t status, const int error, 
+    xmpp_stream_error_t * const stream_error, void * const userdata)
 {
     xmpp_ctx_t *ctx = (xmpp_ctx_t *)userdata;