Changeset ce70e88


Ignore:
Timestamp:
2015-03-01T21:13:12Z (10 years ago)
Author:
Antoine Pietri <antoine.pietri@…>
Branches:
master
Children:
d93c8beb
Parents:
a6b00fc
git-author:
Antoine Pietri <antoine.pietri@…> (01-03-15 21:10:47)
git-committer:
Antoine Pietri <antoine.pietri@…> (01-03-15 21:13:12)
Message:

fix imcb_buddy_msg signature to take a const message

Location:
protocols
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/bee.h

    ra6b00fc rce70e88  
    154154G_MODULE_EXPORT void imcb_buddy_times(struct im_connection *ic, const char *handle, time_t login, time_t idle);
    155155/* Call when a handle says something. 'flags' and 'sent_at may be just 0. */
    156 G_MODULE_EXPORT void imcb_buddy_msg(struct im_connection *ic, const char *handle, char *msg, guint32 flags,
     156G_MODULE_EXPORT void imcb_buddy_msg(struct im_connection *ic, const char *handle, const char *msg, guint32 flags,
    157157                                    time_t sent_at);
    158158
  • protocols/bee_user.c

    ra6b00fc rce70e88  
    247247}
    248248
    249 void imcb_buddy_msg(struct im_connection *ic, const char *handle, char *msg, uint32_t flags, time_t sent_at)
     249void imcb_buddy_msg(struct im_connection *ic, const char *handle, const char *msg, uint32_t flags, time_t sent_at)
    250250{
    251251        bee_t *bee = ic->bee;
Note: See TracChangeset for help on using the changeset viewer.