[110487] trunk/base/src/pextlib1.0/curl.c

ryandesign at macports.org ryandesign at macports.org
Sat Aug 31 10:21:58 PDT 2013


Revision: 110487
          https://trac.macports.org/changeset/110487
Author:   ryandesign at 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:
--------------
    trunk/base/src/pextlib1.0/curl.c

Modified: trunk/base/src/pextlib1.0/curl.c
===================================================================
--- 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;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130831/3c9824dc/attachment.html>


More information about the macports-changes mailing list