changeset 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 b87d7459e7d2
children f6ef1871cfcc
files src/protocols/msn/notification.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/notification.c	Sun May 25 09:32:15 2003 +0000
+++ b/src/protocols/msn/notification.c	Sun May 25 09:39:44 2003 +0000
@@ -268,8 +268,12 @@
 
 	/* We're either getting the challenge or the OK. Let's find out. */
 	if (!g_ascii_strcasecmp(params[1], "OK")) {
+		const char *friendly = params[3];
+
 		/* OK */
 
+		g_snprintf(gc->displayname, sizeof(gc->displayname), "%s", friendly);
+
 		session->syncing_lists = TRUE;
 
 		if (!msn_servconn_send_command(servconn, "SYN", "0")) {