Mercurial > pidgin
diff src/protocols/napster/napster.c @ 4455:c7aae8902e5e
[gaim-migrate @ 4730]
compile warning fixes
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Wed, 29 Jan 2003 00:19:07 +0000 |
parents | 2afc0f845e74 |
children | 23af9ba33ca4 |
line wrap: on
line diff
--- a/src/protocols/napster/napster.c Tue Jan 28 22:36:58 2003 +0000 +++ b/src/protocols/napster/napster.c Wed Jan 29 00:19:07 2003 +0000 @@ -440,9 +440,8 @@ static void nap_login(struct aim_user *user) { struct gaim_connection *gc = new_gaim_conn(user); - struct nap_data *ndata = 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, + 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, nap_login_connect, gc) != 0) { hide_login_progress(gc, "Unable to connect");