aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/bee_user.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-04-01 22:29:45 -0400
committerWilmer van der Gaast <wilmer@gaast.net>2010-04-01 22:29:45 -0400
commitfb117aee274bccfb6528288599ef81fe72191e12 (patch)
tree5f31493f33c12528dce1424057c94bba64633dbc /protocols/bee_user.c
parente63507a356ac94085bcd00048b81d3ce2f27f287 (diff)
Cleaned lots of compiler warnings so I can get some signal again.
Diffstat (limited to 'protocols/bee_user.c')
-rw-r--r--protocols/bee_user.c4
1 files changed, 3 insertions, 1 deletions
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;