diff src/protocols/oscar/oscar.c @ 5954:fccc33d4b8fa

[gaim-migrate @ 6398] I made serv_set_info or whatever it's called take a const char * I don't really remember why I also made some other small changes There should be no functionality change I'm still struggling to get available messages working. They haunt my dreams. Like the gray gorilla, or the Silhouette of the past, fading into the dim light of the moon. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 25 Jun 2003 04:20:30 +0000
parents 1bebb8345bde
children aef0c3489837
line wrap: on
line diff
--- 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;