changeset 5479:175de59cd1c5

[gaim-migrate @ 5875] Fixed the friendly name bug. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 22 May 2003 10:21:11 +0000
parents bae3c48b9b4c
children f19620d8694f
files src/protocols/msn/notification.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/notification.c	Thu May 22 10:20:54 2003 +0000
+++ b/src/protocols/msn/notification.c	Thu May 22 10:21:11 2003 +0000
@@ -831,8 +831,10 @@
 	struct gaim_connection *gc = session->account->gc;
 	char *friend;
 
-	friend = msn_url_decode(params[2]);
+	friend = msn_url_decode(params[3]);
 
+	gaim_debug(GAIM_DEBUG_INFO, "msn", "Setting friendly name to %s\n",
+			   friend);
 	g_snprintf(gc->displayname, sizeof(gc->displayname), "%s", friend);
 
 	return TRUE;