aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/bee_user.c
diff options
context:
space:
mode:
authorAntoine Pietri <antoine.pietri@lrde.epita.fr>2015-03-01 22:10:47 +0100
committerAntoine Pietri <antoine.pietri@lrde.epita.fr>2015-03-01 22:13:12 +0100
commitce70e881ee478b9394b5187642484818b31eefdc (patch)
tree98a9b235ab218fc3007d0a9cc6e11431ef4ae442 /protocols/bee_user.c
parenta6b00fcae9af439133a342741e80463db994d620 (diff)
fix imcb_buddy_msg signature to take a const message
Diffstat (limited to 'protocols/bee_user.c')
-rw-r--r--protocols/bee_user.c2
1 files changed, 1 insertions, 1 deletions
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;