diff src/protocols/irc/irc.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 a93aeb6f813d
children acc11216ec5d
line wrap: on
line diff
--- a/src/protocols/irc/irc.c	Sat Aug 04 01:37:49 2001 +0000
+++ b/src/protocols/irc/irc.c	Mon Aug 06 17:50:46 2001 +0000
@@ -162,7 +162,7 @@
 }
 
 
-static void irc_send_im(struct gaim_connection *gc, char *who, char *message, int away)
+static int irc_send_im(struct gaim_connection *gc, char *who, char *message, int away)
 {
 
 	struct irc_data *idata = (struct irc_data *)gc->proto_data;
@@ -195,7 +195,7 @@
 			irc_get_info(gc, temp);
 			g_free(temp);
 
-			return;
+			return 0;
 		}
 
 	} else {
@@ -205,6 +205,7 @@
 	write(idata->fd, buf, strlen(buf));
 
 	g_free(buf);
+	return 0;
 }
 
 static int find_id_by_name(struct gaim_connection *gc, char *name)