Revision
110487
Author
ryandesign@macports.org
Date
2013-08-31 10:21:58 -0700 (Sat, 31 Aug 2013)

Log Message

curl.c: fix HTTP User-Agent string to conform to RFC 2616 (#40319)

Modified Paths

Diff

Modified: trunk/base/src/pextlib1.0/curl.c (110486 => 110487)


--- trunk/base/src/pextlib1.0/curl.c	2013-08-31 17:19:13 UTC (rev 110486)
+++ trunk/base/src/pextlib1.0/curl.c	2013-08-31 17:21:58 UTC (rev 110487)
@@ -127,7 +127,7 @@
 		const char* theUserPassString = NULL;
 		const char* effectiveURLVarName = NULL;
 		char* effectiveURL = NULL;
-		char* userAgent = PACKAGE_STRING " libcurl/" LIBCURL_VERSION;
+		char* userAgent = PACKAGE_NAME "/" PACKAGE_VERSION " libcurl/" LIBCURL_VERSION;
 		int optioncrsr;
 		int lastoption;
 		const char* theURL;