comparison plugins/gaiminc.c @ 6982:083d1e4a9c78

[gaim-migrate @ 7538] This is Mr. Holland's Opus. And by Mr. Holland I mean Robot101. He rewrote the coreish IM image support so that the binary data gets ripped out in the prpl and put in an imgstore instead of just being passed in the same huge as char string as the actual message. This is good because it's prpl agnostic, or something. It also means we don't have a silly length of "-1" with pretty much every send or receive IM function. It should be crash free, bug free, and memleak free, but additional testing is always a good thing. If you like good stuff then you'll love this patch. But don't take my word for it--ba dun dunt! committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 27 Sep 2003 19:17:21 +0000
parents 70d5122bc3ff
children d7fd01f7bdcb
comparison
equal deleted inserted replaced
6981:abd3c684da31 6982:083d1e4a9c78
41 static void 41 static void
42 bud(struct gaim_connection *gc, char *who, void *m) 42 bud(struct gaim_connection *gc, char *who, void *m)
43 { 43 {
44 /* whenever someone comes online, it sends them a message. if i 44 /* whenever someone comes online, it sends them a message. if i
45 * cared more, i'd make it so it popped up on your screen too */ 45 * cared more, i'd make it so it popped up on your screen too */
46 serv_send_im(gc, who, "Hello!", -1, 0); 46 serv_send_im(gc, who, "Hello!", 0);
47 } 47 }
48 48
49 /* 49 /*
50 * EXPORTED FUNCTIONS 50 * EXPORTED FUNCTIONS
51 */ 51 */