--- a/src/protocols/jabber/jabber.c Sat Aug 04 01:37:49 2001 +0000 +++ b/src/protocols/jabber/jabber.c Mon Aug 06 17:50:46 2001 +0000 @@ -1215,14 +1215,14 @@ gc->proto_data = NULL; } -static void jabber_send_im(struct gaim_connection *gc, char *who, char *message, int away) +static int jabber_send_im(struct gaim_connection *gc, char *who, char *message, int away) { xmlnode x, y; char *realwho; gjconn j = ((struct jabber_data *)gc->proto_data)->jc; if (!who || !message) - return; + return 0; x = xmlnode_new_tag("message"); if (!strchr(who, '@')) @@ -1243,6 +1243,7 @@ gjab_send(((struct jabber_data *)gc->proto_data)->jc, x); xmlnode_free(x); + return 0; } static void jabber_add_buddy(struct gaim_connection *gc, char *name)