aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn/sb.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2009-12-13 14:48:56 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2009-12-13 14:48:56 +0000
commit1c3008ac0b2b29f7e14ec9b874af3277c511c7a4 (patch)
tree06bbcb3f3dfc999ff44ee4c41b86f590fc1f6aef /protocols/msn/sb.c
parent2288705af462b4aca2d56f228bff269eab8d8b5f (diff)
No functional changes, just some style "fixes". Although I admit I'm
somewhat growing out of my own coding style, I do try to keep things consistent at least within files. Comments are now in reviewboard: http://code.bitlbee.org/rb/r/13/
Diffstat (limited to 'protocols/msn/sb.c')
-rw-r--r--protocols/msn/sb.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/protocols/msn/sb.c b/protocols/msn/sb.c
index b60a9a8b..c3302e57 100644
--- a/protocols/msn/sb.c
+++ b/protocols/msn/sb.c
@@ -173,11 +173,13 @@ int msn_sb_sendmessage( struct msn_switchboard *sb, char *text )
i = strlen( MSN_TYPING_HEADERS ) + strlen( sb->ic->acc->user );
buf = g_new0( char, i );
i = g_snprintf( buf, i, MSN_TYPING_HEADERS, sb->ic->acc->user );
- } else if( strncmp( text, MSN_INVITE_HEADERS, sizeof( MSN_INVITE_HEADERS ) - 1 ) == 0 )
+ }
+ else if( strncmp( text, MSN_INVITE_HEADERS, sizeof( MSN_INVITE_HEADERS ) - 1 ) == 0 )
{
buf = g_strdup( text );
i = strlen( buf );
- } else
+ }
+ else
{
buf = g_new0( char, sizeof( MSN_MESSAGE_HEADERS ) + strlen( text ) * 2 + 1 );
i = strlen( MSN_MESSAGE_HEADERS );