changeset 14870:9f088b5844e3

[gaim-migrate @ 17639] Use the PACKAGE_NAME #define rather than hardcoding 'Gaim'. This should be no change for Gaim users, but means that compiling with a name of 'libgaim' reflects the user-agent properly, and that makes me a happy penguin. committer: Tailor Script <tailor@pidgin.im>
author Evan Schoenberg <evan.s@dreskin.net>
date Tue, 31 Oct 2006 20:47:51 +0000
parents b1c8a77476a5
children 3378450077e7
files libgaim/protocols/msn/msg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libgaim/protocols/msn/msg.c	Tue Oct 31 17:47:57 2006 +0000
+++ b/libgaim/protocols/msn/msg.c	Tue Oct 31 20:47:51 2006 +0000
@@ -121,7 +121,7 @@
 	char *message_cr;
 
 	msg = msn_message_new(MSN_MSG_TEXT);
-	msn_message_set_attr(msg, "User-Agent", "Gaim/" VERSION);
+	msn_message_set_attr(msg, "User-Agent", PACKAGE_NAME "/" VERSION);
 	msn_message_set_content_type(msg, "text/plain");
 	msn_message_set_charset(msg, "UTF-8");
 	msn_message_set_flag(msg, 'A');