diff src/oscar.c @ 1051:713b0e14e0a9

[gaim-migrate @ 1061] user_info only in aim_user (saves 2k per connection); mem leak fixes in dialogs.c and multi.c; and proto_opt in aim_user (so prpls can have their own saved information per user). no way to draw protocol option selection window thingy yet, so prpls will either have to do that on their own or something. i don't know. we'll figure it out. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 02 Nov 2000 22:29:51 +0000
parents 67ed2ee5be9f
children 6e60c69d4432
line wrap: on
line diff
--- a/src/oscar.c	Thu Nov 02 00:25:58 2000 +0000
+++ b/src/oscar.c	Thu Nov 02 22:29:51 2000 +0000
@@ -309,7 +309,6 @@
 	gc->inpa = gdk_input_add(conn->fd, GDK_INPUT_READ | GDK_INPUT_EXCEPTION,
 			oscar_callback, conn);
 
-	sprintf(gc->user_info, "%s", user->user_info);
 	gc->options = user->options;
 	save_prefs(); /* is this necessary anymore? */
 
@@ -1067,7 +1066,7 @@
 		aim_bos_ackrateresp(sess, command->conn);
 		aim_bos_reqpersonalinfo(sess, command->conn);
 		aim_bos_reqlocaterights(sess, command->conn);
-		aim_bos_setprofile(sess, command->conn, gc->user_info, NULL, gaim_caps);
+		aim_bos_setprofile(sess, command->conn, gc->user->user_info, NULL, gaim_caps);
 		aim_bos_reqbuddyrights(sess, command->conn);
 
 		account_online(gc->user, gc); /* this is an awkward hack */
@@ -1193,7 +1192,7 @@
 
 static void oscar_set_away(struct gaim_connection *g, char *message) {
 	struct oscar_data *odata = (struct oscar_data *)g->proto_data;
-	aim_bos_setprofile(odata->sess, odata->conn, g->user_info, message, gaim_caps);
+	aim_bos_setprofile(odata->sess, odata->conn, g->user->user_info, message, gaim_caps);
 }
 
 static void oscar_warn(struct gaim_connection *g, char *name, int anon) {