From ce70e881ee478b9394b5187642484818b31eefdc Mon Sep 17 00:00:00 2001 From: Antoine Pietri Date: Sun, 1 Mar 2015 22:10:47 +0100 Subject: fix imcb_buddy_msg signature to take a const message --- protocols/bee_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/bee_user.c') diff --git a/protocols/bee_user.c b/protocols/bee_user.c index 0a211c71..2eb24997 100644 --- a/protocols/bee_user.c +++ b/protocols/bee_user.c @@ -246,7 +246,7 @@ void imcb_buddy_times(struct im_connection *ic, const char *handle, time_t login bu->idle_time = idle; } -void imcb_buddy_msg(struct im_connection *ic, const char *handle, char *msg, uint32_t flags, time_t sent_at) +void imcb_buddy_msg(struct im_connection *ic, const char *handle, const char *msg, uint32_t flags, time_t sent_at) { bee_t *bee = ic->bee; bee_user_t *bu; -- cgit v1.2.3