src/protocols/toc/toc.c

changeset 5136
81079a81ebc6
parent 5068
0d4c4df65dd0
child 5205
242b8aa81328
--- a/src/protocols/toc/toc.c	Tue Apr 15 03:45:31 2003 +0000
+++ b/src/protocols/toc/toc.c	Tue Apr 15 04:18:00 2003 +0000
@@ -1014,7 +1014,7 @@
 	}
 }
 
-static int toc_send_im(struct gaim_connection *gc, char *name, char *message, int len, int flags)
+static int toc_send_im(struct gaim_connection *gc, const char *name, const char *message, int len, int flags)
 {
 	char buf[BUF_LEN * 2];
 	char *tmp = g_malloc(strlen(message) * 4 + 1); /* 4 because \n gets replaced with <BR> */
@@ -1042,14 +1042,14 @@
 	g_free(buf);
 }
 
-static void toc_get_info(struct gaim_connection *g, char *name)
+static void toc_get_info(struct gaim_connection *g, const char *name)
 {
 	char buf[BUF_LEN * 2];
 	g_snprintf(buf, MSG_LEN, "toc_get_info %s", normalize(name));
 	sflap_send(g, buf, -1, TYPE_DATA);
 }
 
-static void toc_get_dir(struct gaim_connection *g, char *name)
+static void toc_get_dir(struct gaim_connection *g, const char *name)
 {
 	char buf[BUF_LEN * 2];
 	g_snprintf(buf, MSG_LEN, "toc_get_dir %s", normalize(name));
@@ -1307,7 +1307,7 @@
 	*ne = emblems[3];
 }
 
-static GList *toc_buddy_menu(struct gaim_connection *gc, char *who)
+static GList *toc_buddy_menu(struct gaim_connection *gc, const char *who)
 {
 	GList *m = NULL;
 	struct proto_buddy_menu *pbm;

mercurial