diff src/server.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 c4baa5509558
children 864f4aae0b60
line wrap: on
line diff
--- a/src/server.c	Thu Nov 02 00:25:58 2000 +0000
+++ b/src/server.c	Thu Nov 02 22:29:51 2000 +0000
@@ -87,9 +87,9 @@
 {
         char *buf;
 
-	if (strlen(gc->user_info)) {
-		buf = g_malloc(strlen(gc->user_info) * 4);
-		strcpy(buf, gc->user_info);
+	if (strlen(gc->user->user_info)) {
+		buf = g_malloc(strlen(gc->user->user_info) * 4);
+		strcpy(buf, gc->user->user_info);
 		serv_set_info(gc, buf);
 		g_free(buf);
 	}