aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--protocols/nogaim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/nogaim.c b/protocols/nogaim.c
index f0c87c20..ebb00418 100644
--- a/protocols/nogaim.c
+++ b/protocols/nogaim.c
@@ -786,8 +786,8 @@ void imcb_buddy_msg( struct im_connection *ic, const char *handle, char *msg, ui
( ts = format_timestamp( irc, sent_at ) ) )
{
char *new = g_strconcat( ts, msg, NULL );
- g_free( ts );
- ts = msg = new;
+ g_free( msg );
+ msg = new;
}
wrapped = word_wrap( msg, 425 );