src/protocols/oscar/oscar.c

changeset 5954
58e43cf2dc1f
parent 5948
2527d515c3b8
child 5968
f3e4bc7bd718
--- a/src/protocols/oscar/oscar.c	Wed Jun 25 03:40:03 2003 +0000
+++ b/src/protocols/oscar/oscar.c	Wed Jun 25 04:20:30 2003 +0000
@@ -272,7 +272,7 @@
 static gboolean gaim_icon_timerfunc(gpointer data);
 
 /* prpl actions - remove this at some point */
-static void oscar_set_info(GaimConnection *gc, char *text);
+static void oscar_set_info(GaimConnection *gc, const char *text);
 
 static void oscar_free_name_data(struct name_data *data) {
 	g_free(data->name);
@@ -3816,7 +3816,7 @@
 	if (od->icq)
 		aim_bos_setprofile(sess, fr->conn, NULL, NULL, 0, NULL, NULL, 0, caps_icq);
 	else
-		oscar_set_info(gc, gc->account->user_info); /* XXX - unneeded? */
+		oscar_set_info(gc, gc->account->user_info);
 
 	return 1;
 }
@@ -4407,7 +4407,7 @@
 	aim_bos_setidle(od->sess, od->conn, time);
 }
 
-static void oscar_set_info(GaimConnection *gc, char *text) {
+static void oscar_set_info(GaimConnection *gc, const char *text) {
 	struct oscar_data *od = (struct oscar_data *)gc->proto_data;
 	fu32_t flags = 0;
 	char *msg = NULL;

mercurial