Changeset 7c300bb for skype


Ignore:
Timestamp:
2009-12-12T01:08:22Z (15 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
4f8396f
Parents:
1f4fc80
Message:

make skype_write() parameters mimic write()'s one

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/skype.c

    r1f4fc80 r7c300bb  
    138138 */
    139139
    140 int skype_write(struct im_connection *ic, char *buf)
     140int skype_write(struct im_connection *ic, char *buf, int len)
    141141{
    142142        struct skype_data *sd = ic->proto_data;
    143143        struct pollfd pfd[1];
    144         int len = strlen(buf);
    145144
    146145        pfd[0].fd = sd->fd;
     
    168167        va_end(args);
    169168
    170         return skype_write(ic, str);
     169        return skype_write(ic, str, strlen(str));
    171170}
    172171
Note: See TracChangeset for help on using the changeset viewer.