From fb117aee274bccfb6528288599ef81fe72191e12 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Thu, 1 Apr 2010 22:29:45 -0400 Subject: Cleaned lots of compiler warnings so I can get some signal again. --- protocols/bee_user.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'protocols/bee_user.c') diff --git a/protocols/bee_user.c b/protocols/bee_user.c index 32022dd8..2c11ca1d 100644 --- a/protocols/bee_user.c +++ b/protocols/bee_user.c @@ -91,8 +91,10 @@ int bee_user_msg( bee_t *bee, bee_user_t *bu, const char *msg, int flags ) buf = escape_html( msg ); msg = buf; } + else + buf = g_strdup( msg ); - st = bu->ic->acc->prpl->buddy_msg( bu->ic, bu->handle, msg, flags ); + st = bu->ic->acc->prpl->buddy_msg( bu->ic, bu->handle, buf, flags ); g_free( buf ); return st; -- cgit v1.2.3