# HG changeset patch # User Mikael Hallendal # Date 1172356202 -3600 # Node ID 2cca5ec7b57383be8f899390f1a65cc99a94dd85 # Parent 09a3e0e55ab86ac9e1c8d51d495ab277052b5997 Style fixes diff -r 09a3e0e55ab8 -r 2cca5ec7b573 loudmouth/lm-connection.c --- a/loudmouth/lm-connection.c Sat Feb 24 22:43:07 2007 +0100 +++ b/loudmouth/lm-connection.c Sat Feb 24 23:30:02 2007 +0100 @@ -380,8 +380,7 @@ } static void -connection_message_queue_cb (LmMessageQueue *queue, - LmConnection *connection) +connection_message_queue_cb (LmMessageQueue *queue, LmConnection *connection) { LmMessage *m; diff -r 09a3e0e55ab8 -r 2cca5ec7b573 loudmouth/lm-socket.c --- a/loudmouth/lm-socket.c Sat Feb 24 22:43:07 2007 +0100 +++ b/loudmouth/lm-socket.c Sat Feb 24 23:30:02 2007 +0100 @@ -77,25 +77,24 @@ guint ref_count; }; -static void socket_free (LmSocket *socket); -static gboolean socket_do_connect (LmConnectData *connect_data); -static gboolean socket_connect_cb (GIOChannel *source, - GIOCondition condition, - LmConnectData *connect_data); -static gboolean socket_in_event (GIOChannel *source, - GIOCondition condition, - LmSocket *socket); -static gboolean socket_hup_event (GIOChannel *source, - GIOCondition condition, - LmSocket *socket); -static gboolean -socket_buffered_write_cb (GIOChannel *source, - GIOCondition condition, - LmSocket *socket); -static gboolean socket_parse_srv_response (unsigned char *srv, - int srv_len, - gchar **out_server, - guint *out_port); +static void socket_free (LmSocket *socket); +static gboolean socket_do_connect (LmConnectData *connect_data); +static gboolean socket_connect_cb (GIOChannel *source, + GIOCondition condition, + LmConnectData *connect_data); +static gboolean socket_in_event (GIOChannel *source, + GIOCondition condition, + LmSocket *socket); +static gboolean socket_hup_event (GIOChannel *source, + GIOCondition condition, + LmSocket *socket); +static gboolean socket_buffered_write_cb (GIOChannel *source, + GIOCondition condition, + LmSocket *socket); +static gboolean socket_parse_srv_response (unsigned char *srv, + int srv_len, + gchar **out_server, + guint *out_port); static void socket_free (LmSocket *socket) @@ -118,9 +117,7 @@ } gint -lm_socket_do_write (LmSocket *socket, - const gchar *buf, - gint len) +lm_socket_do_write (LmSocket *socket, const gchar *buf, gint len) { gint b_written; @@ -148,11 +145,11 @@ } static gboolean -socket_read_incoming (LmSocket *socket, - gchar *buf, - gsize buf_size, - gsize *bytes_read, - gboolean *hangup) +socket_read_incoming (LmSocket *socket, + gchar *buf, + gsize buf_size, + gsize *bytes_read, + gboolean *hangup) { GIOStatus status; @@ -567,9 +564,7 @@ } void -lm_socket_setup_output_buffer (LmSocket *socket, - const gchar *buffer, - gint len) +lm_socket_setup_output_buffer (LmSocket *socket, const gchar *buffer, gint len) { lm_verbose ("OUTPUT BUFFER ENABLED\n");