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

eridius at macports.org eridius at macports.org
Sun Jan 13 20:19:34 PST 2008


Revision: 32824
          http://trac.macosforge.org/projects/macports/changeset/32824
Author:   eridius at macports.org
Date:     2008-01-13 20:19:33 -0800 (Sun, 13 Jan 2008)

Log Message:
-----------
Add our version to the User-Agent in libcurl

Modified Paths:
--------------
    trunk/base/src/pextlib1.0/curl.c

Modified: trunk/base/src/pextlib1.0/curl.c
===================================================================
--- trunk/base/src/pextlib1.0/curl.c	2008-01-14 04:19:08 UTC (rev 32823)
+++ trunk/base/src/pextlib1.0/curl.c	2008-01-14 04:19:33 UTC (rev 32824)
@@ -150,7 +150,7 @@
 		const char* theUserPassString = NULL;
 		const char* effectiveURLVarName = NULL;
 		char* effectiveURL = NULL;
-		char* userAgent = "MacPorts libcurl/" LIBCURL_VERSION;
+		char* userAgent = PACKAGE_STRING " 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/20080113/bcea39fe/attachment.html


More information about the macports-changes mailing list