changeset 4460:23af9ba33ca4

[gaim-migrate @ 4735] this is what I meant to do. /me hangs his head in shame committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 29 Jan 2003 04:04:14 +0000
parents 23ff3690d291
children 75ff69e592cc
files src/protocols/msn/msn.c src/protocols/napster/napster.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Wed Jan 29 02:17:49 2003 +0000
+++ b/src/protocols/msn/msn.c	Wed Jan 29 04:04:14 2003 +0000
@@ -1961,7 +1961,7 @@
 static void msn_login(struct aim_user *user)
 {
 	struct gaim_connection *gc = new_gaim_conn(user);
-	struct msn_data *md = gc->proto_data = g_new0(struct msn_data, 1);
+	gc->proto_data = g_new0(struct msn_data, 1);
 
 	set_login_progress(gc, 1, _("Connecting"));
 
--- a/src/protocols/napster/napster.c	Wed Jan 29 02:17:49 2003 +0000
+++ b/src/protocols/napster/napster.c	Wed Jan 29 04:04:14 2003 +0000
@@ -440,6 +440,7 @@
 static void nap_login(struct aim_user *user)
 {
 	struct gaim_connection *gc = new_gaim_conn(user);
+	gc->proto_data = g_new0(struct nap_data, 1);
 
 	if (proxy_connect(user->proto_opt[USEROPT_NAPSERVER][0] ? user->proto_opt[USEROPT_NAPSERVER] : NAP_SERVER,
 			       user->proto_opt[USEROPT_NAPPORT][0] ? atoi(user->proto_opt[USEROPT_NAPPORT]) : NAP_PORT,