aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn/sb.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2011-12-17 14:50:01 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2011-12-17 14:50:01 +0100
commit6e9ae727bcd95eb820fa28becaf9f79ac463de5f (patch)
tree2d1d2a0f511d1356caf4a3f7c29c1578f0583a95 /protocols/msn/sb.c
parent87dddee3a14d7755204d6fc4b321729bad02ce4e (diff)
parent17f057d70b1513710e3d765969205625f0fc7b76 (diff)
Mainline merge.
Diffstat (limited to 'protocols/msn/sb.c')
-rw-r--r--protocols/msn/sb.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/protocols/msn/sb.c b/protocols/msn/sb.c
index 37ac2889..69114469 100644
--- a/protocols/msn/sb.c
+++ b/protocols/msn/sb.c
@@ -307,7 +307,6 @@ gboolean msn_sb_connected( gpointer data, gint source, b_input_condition cond )
{
struct msn_switchboard *sb = data;
struct im_connection *ic;
- struct msn_data *md;
char buf[1024];
/* Are we still alive? */
@@ -315,7 +314,6 @@ gboolean msn_sb_connected( gpointer data, gint source, b_input_condition cond )
return FALSE;
ic = sb->ic;
- md = ic->proto_data;
if( source != sb->fd )
{
@@ -674,16 +672,12 @@ static int msn_sb_message( struct msn_handler_data *handler, char *msg, int msgl
struct msn_switchboard *sb = handler->data;
struct im_connection *ic = sb->ic;
char *body;
- int blen = 0;
if( !num_parts )
return( 1 );
if( ( body = strstr( msg, "\r\n\r\n" ) ) )
- {
body += 4;
- blen = msglen - ( body - msg );
- }
if( strcmp( cmd[0], "MSG" ) == 0 )
{