From: <ev...@us...> - 2006-10-31 20:47:56
|
Revision: 17639 http://svn.sourceforge.net/gaim/?rev=17639&view=rev Author: evands Date: 2006-10-31 12:47:51 -0800 (Tue, 31 Oct 2006) Log Message: ----------- 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. Modified Paths: -------------- trunk/libgaim/protocols/msn/msg.c Modified: trunk/libgaim/protocols/msn/msg.c =================================================================== --- trunk/libgaim/protocols/msn/msg.c 2006-10-31 17:47:57 UTC (rev 17638) +++ trunk/libgaim/protocols/msn/msg.c 2006-10-31 20:47:51 UTC (rev 17639) @@ -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'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |