src/protocols/yahoo/yahoo.c

changeset 6982
12f08de92674
parent 6847
0fda06bb588a
child 6986
40613e58e3d6
equal deleted inserted replaced
6981:749f11b02abf 6982:12f08de92674
680 680
681 msg = pair->value; 681 msg = pair->value;
682 682
683 strip_linefeed(msg); 683 strip_linefeed(msg);
684 m = yahoo_codes_to_html(msg); 684 m = yahoo_codes_to_html(msg);
685 serv_got_im(gc, from, m, 0, tm, -1); 685 serv_got_im(gc, from, m, 0, tm);
686 g_free(m); 686 g_free(m);
687 687
688 tm = time(NULL); 688 tm = time(NULL);
689 } 689 }
690 l = l->next; 690 l = l->next;
1643 m = g_list_append(m, pam); 1643 m = g_list_append(m, pam);
1644 1644
1645 return m; 1645 return m;
1646 } 1646 }
1647 1647
1648 static int yahoo_send_im(GaimConnection *gc, const char *who, const char *what, int len, GaimImFlags flags) 1648 static int yahoo_send_im(GaimConnection *gc, const char *who, const char *what, GaimImFlags flags)
1649 { 1649 {
1650 struct yahoo_data *yd = gc->proto_data; 1650 struct yahoo_data *yd = gc->proto_data;
1651 struct yahoo_packet *pkt = yahoo_packet_new(YAHOO_SERVICE_MESSAGE, YAHOO_STATUS_OFFLINE, 0); 1651 struct yahoo_packet *pkt = yahoo_packet_new(YAHOO_SERVICE_MESSAGE, YAHOO_STATUS_OFFLINE, 0);
1652 char *msg = yahoo_html_to_codes(what); 1652 char *msg = yahoo_html_to_codes(what);
1653 1653

mercurial