Update of /cvsroot/gaim/gaim/src/protocols/jabber
In directory usw-pr-cvs1:/tmp/cvs-serv15635/src/protocols/jabber
Modified Files:
jabber.c
Log Message:
some patches from some people.
Index: jabber.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/jabber/jabber.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- jabber.c 28 Aug 2002 02:38:18 -0000 1.61
+++ jabber.c 29 Aug 2002 01:47:14 -0000 1.62
@@ -380,7 +380,7 @@
* reponsible for freeing that via gaim_jid_free() when done
* with it.
*/
-static gchar *get_realwho(gjconn gjc, char *who, int incl_resource, gaim_jid *gjid)
+static gchar *get_realwho(gjconn gjc, const char *who, int incl_resource, gaim_jid *gjid)
{
gaim_jid my_gjid;
gchar *my_who;
@@ -927,7 +927,7 @@
/*
* Remove a buddy from the (gaim) buddylist (if he's on it)
*/
-static void jabber_remove_gaim_buddy(struct gaim_connection *gc, char *buddyname)
+static void jabber_remove_gaim_buddy(struct gaim_connection *gc, const char *buddyname)
{
struct buddy *b;
@@ -941,7 +941,7 @@
}
}
-static void jabber_change_passwd(struct gaim_connection *gc, char *old, char *new)
+static void jabber_change_passwd(struct gaim_connection *gc, const char *old, const char *new)
{
gjconn gjc = ((struct jabber_data *)gc->proto_data)->gjc;
@@ -2395,7 +2395,7 @@
}
}
-static void jabber_add_buddy(struct gaim_connection *gc, char *name)
+static void jabber_add_buddy(struct gaim_connection *gc, const char *name)
{
xmlnode x;
char *realwho;
@@ -2726,7 +2726,7 @@
g_free(realwho);
}
-static void jabber_chat_invite(struct gaim_connection *gc, int id, char *message, char *name)
+static void jabber_chat_invite(struct gaim_connection *gc, int id, const char *message, const char *name)
{
xmlnode x, y;
struct jabber_data *jd = gc->proto_data;
|