Mercurial > pidgin.yaz
diff src/protocols/gg/gg.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 | faa491042c66 |
children | 86ed8b2aa665 |
line wrap: on
line diff
--- a/src/protocols/gg/gg.c Sat Sep 27 15:45:49 2003 +0000 +++ b/src/protocols/gg/gg.c Sat Sep 27 19:17:21 2003 +0000 @@ -1,6 +1,6 @@ /* * gaim - Gadu-Gadu Protocol Plugin - * $Id: gg.c 7326 2003-09-07 23:47:00Z chipx86 $ + * $Id: gg.c 7538 2003-09-27 19:17:21Z thekingant $ * * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> * @@ -315,7 +315,7 @@ imsg = charset_convert(e->event.msg.message, "CP1250", "UTF-8"); strip_linefeed(imsg); /* e->event.msg.time - we don't know what this time is for */ - serv_got_im(gc, user, imsg, 0, time(NULL), -1); + serv_got_im(gc, user, imsg, 0, time(NULL)); g_free(imsg); } break; @@ -560,7 +560,7 @@ g_free(gc->proto_data); } -static int agg_send_im(GaimConnection *gc, const char *who, const char *msg, int len, GaimImFlags flags) +static int agg_send_im(GaimConnection *gc, const char *who, const char *msg, GaimImFlags flags) { struct agg_data *gd = (struct agg_data *)gc->proto_data; gchar *imsg;