From 105383688a6605ca40ab4fa987d72809170a2e36 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Mon, 30 Jan 2006 14:30:59 +0100 Subject: When closing down MSN (sb) connections with unsent messages, the warning message now mentions the people those messages were meant for. --- protocols/msn/sb.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'protocols/msn/sb.c') diff --git a/protocols/msn/sb.c b/protocols/msn/sb.c index 9e7ef841..deaceba1 100644 --- a/protocols/msn/sb.c +++ b/protocols/msn/sb.c @@ -212,13 +212,16 @@ void msn_sb_destroy( struct msn_switchboard *sb ) for( l = sb->msgq; l; l = l->next ) { m = l->data; + g_free( m->who ); g_free( m->text ); g_free( m ); } g_slist_free( sb->msgq ); - serv_got_crap( gc, "Warning: Closing down MSN switchboard connection with unsent message(s), you'll have to resend them." ); + serv_got_crap( gc, "Warning: Closing down MSN switchboard connection with " + "unsent message to %s, you'll have to resend it.", + m->who ? m->who : "(unknown)" ); } if( sb->chat ) -- cgit v1.2.3