Mercurial > pidgin
diff src/protocols/oscar/oscar.c @ 2123:56c4382f2909
[gaim-migrate @ 2133]
now has the ability to notify you beforehand that messages are too long. I haven't tested this yet though.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 06 Aug 2001 17:50:46 +0000 |
parents | 9f83b7ef1fdc |
children | b935eca131be |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Sat Aug 04 01:37:49 2001 +0000 +++ b/src/protocols/oscar/oscar.c Mon Aug 06 17:50:46 2001 +0000 @@ -2443,14 +2443,14 @@ return "Oscar"; } -static void oscar_send_im(struct gaim_connection *gc, char *name, char *message, int away) { +static int oscar_send_im(struct gaim_connection *gc, char *name, char *message, int away) { struct oscar_data *odata = (struct oscar_data *)gc->proto_data; struct direct_im *dim = find_direct_im(odata, name); if (dim) { - aim_send_im_direct(odata->sess, dim->conn, message); + return aim_send_im_direct(odata->sess, dim->conn, message); } else { if (away) - aim_send_im(odata->sess, odata->conn, name, AIM_IMFLAGS_AWAY, message); + return aim_send_im(odata->sess, odata->conn, name, AIM_IMFLAGS_AWAY, message); else { int flags = AIM_IMFLAGS_ACK; #if USE_PIXBUF @@ -2469,7 +2469,7 @@ debug_printf("sending buddy icon request with message\n"); } #endif - aim_send_im(odata->sess, odata->conn, name, flags, message); + return aim_send_im(odata->sess, odata->conn, name, flags, message); } } }