comparison src/protocols/msn/notification.c @ 5508:2a57266df5f6

[gaim-migrate @ 5907] Fixed the MSN friendly name bug. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 25 May 2003 09:39:44 +0000
parents 4f72b611f0ee
children f6ef1871cfcc
comparison
equal deleted inserted replaced
5507:b87d7459e7d2 5508:2a57266df5f6
266 struct gaim_connection *gc = session->account->gc; 266 struct gaim_connection *gc = session->account->gc;
267 char outparams[MSN_BUF_LEN]; 267 char outparams[MSN_BUF_LEN];
268 268
269 /* We're either getting the challenge or the OK. Let's find out. */ 269 /* We're either getting the challenge or the OK. Let's find out. */
270 if (!g_ascii_strcasecmp(params[1], "OK")) { 270 if (!g_ascii_strcasecmp(params[1], "OK")) {
271 const char *friendly = params[3];
272
271 /* OK */ 273 /* OK */
274
275 g_snprintf(gc->displayname, sizeof(gc->displayname), "%s", friendly);
272 276
273 session->syncing_lists = TRUE; 277 session->syncing_lists = TRUE;
274 278
275 if (!msn_servconn_send_command(servconn, "SYN", "0")) { 279 if (!msn_servconn_send_command(servconn, "SYN", "0")) {
276 hide_login_progress(gc, _("Unable to write")); 280 hide_login_progress(gc, _("Unable to write"));