diff src/protocols/jabber/jabber.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 0ad5f2cf6728
children acc11216ec5d
line wrap: on
line diff
--- 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)