comparison 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
comparison
equal deleted inserted replaced
1050:c4baa5509558 1051:713b0e14e0a9
85 85
86 void serv_finish_login(struct gaim_connection *gc) 86 void serv_finish_login(struct gaim_connection *gc)
87 { 87 {
88 char *buf; 88 char *buf;
89 89
90 if (strlen(gc->user_info)) { 90 if (strlen(gc->user->user_info)) {
91 buf = g_malloc(strlen(gc->user_info) * 4); 91 buf = g_malloc(strlen(gc->user->user_info) * 4);
92 strcpy(buf, gc->user_info); 92 strcpy(buf, gc->user->user_info);
93 serv_set_info(gc, buf); 93 serv_set_info(gc, buf);
94 g_free(buf); 94 g_free(buf);
95 } 95 }
96 96
97 if (gc->idle_timer > 0) 97 if (gc->idle_timer > 0)