Update of /cvsroot/gaim/gaim/src/protocols/irc
In directory usw-pr-cvs1:/tmp/cvs-serv15635/src/protocols/irc
Modified Files:
irc.c
Log Message:
some patches from some people.
Index: irc.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/irc/irc.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- irc.c 27 Aug 2002 17:16:28 -0000 1.80
+++ irc.c 29 Aug 2002 01:47:14 -0000 1.81
@@ -710,7 +710,6 @@
static void handle_version(struct gaim_connection *gc, char *word[], char *word_eol[], int num)
{
struct irc_data *id = gc->proto_data;
- char buf[IRC_BUF_LEN];
GString *str;
id->liststr = g_string_new("");
@@ -1754,7 +1753,7 @@
return handle_command(gc, who, what);
}
-static void irc_chat_invite(struct gaim_connection *gc, int idn, char *message, char *name) {
+static void irc_chat_invite(struct gaim_connection *gc, int idn, const char *message, const char *name) {
char buf[IRC_BUF_LEN];
struct irc_data *id = gc->proto_data;
struct conversation *c = irc_find_chat_by_id(gc, idn);
@@ -1770,7 +1769,7 @@
}
/* IRC doesn't have a buddy list, but we can still figure out who's online with ISON */
-static void irc_add_buddy(struct gaim_connection *gc, char *who) {}
+static void irc_add_buddy(struct gaim_connection *gc, const char *who) {}
static void irc_remove_buddy(struct gaim_connection *gc, char *who, char *group) {}
static GList *irc_chat_info(struct gaim_connection *gc)
|