]> git.saurik.com Git - apt.git/blobdiff - methods/https.cc
merged from David
[apt.git] / methods / https.cc
index 4f2d581d26ab544382116761b81fe1849b66da6e..c1a49ba6093b621743dd2726f329d79f1f3eeff9 100644 (file)
@@ -219,7 +219,7 @@ bool HttpsMethod::Fetch(FetchItem *Itm)
    curl_easy_setopt(curl, CURLOPT_USERAGENT,
        _config->Find("Acquire::https::User-Agent",
                _config->Find("Acquire::http::User-Agent",
    curl_easy_setopt(curl, CURLOPT_USERAGENT,
        _config->Find("Acquire::https::User-Agent",
                _config->Find("Acquire::http::User-Agent",
-                       "Debian APT-CURL/1.0 ("VERSION")").c_str()).c_str());
+                       "Debian APT-CURL/1.0 (" PACKAGE_VERSION ")").c_str()).c_str());
 
    // set timeout
    int const timeout = _config->FindI("Acquire::https::Timeout",
 
    // set timeout
    int const timeout = _config->FindI("Acquire::https::Timeout",