Mercurial > pidgin
diff src/protocols/yahoo/yay.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 | b66aca8e8dce |
children | 91223be78b70 |
line wrap: on
line diff
--- a/src/protocols/yahoo/yay.c Sat Aug 04 01:37:49 2001 +0000 +++ b/src/protocols/yahoo/yay.c Mon Aug 06 17:50:46 2001 +0000 @@ -442,11 +442,11 @@ g_free(yd); } -static void yahoo_send_im(struct gaim_connection *gc, char *who, char *message, int away) { +static int yahoo_send_im(struct gaim_connection *gc, char *who, char *message, int away) { struct yahoo_data *yd = (struct yahoo_data *)gc->proto_data; GSList *l = yd->offline; - if (away || !strlen(message)) return; + if (away || !strlen(message)) return 0; while (l) { if (!strcmp(who, l->data)) @@ -458,6 +458,7 @@ yahoo_send_message(yd->sess, yd->active_id, who, message); else yahoo_send_message_offline(yd->sess, yd->active_id, who, message); + return 0; } static void yahoo_set_away(struct gaim_connection *gc, char *state, char *msg) {