diff src/protocols/jabber/jabber.c @ 3466:7a3f16a375a5

[gaim-migrate @ 3516] some patches from some people. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 29 Aug 2002 01:47:15 +0000
parents b48065e52337
children 8e688863a9f1
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c	Thu Aug 29 01:43:23 2002 +0000
+++ b/src/protocols/jabber/jabber.c	Thu Aug 29 01:47:15 2002 +0000
@@ -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;