diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2012-05-17 14:21:13 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2012-05-17 14:21:13 +0200 |
commit | 335e2c82afc5ddb305c9e36fac17a024d7dc9c3f (patch) | |
tree | b7e44a7aa7adb95b12a5e19e670f7030899cdda1 /methods/http.cc | |
parent | 65f9983436be310c768c4c42531ceea1e3a6d4ac (diff) |
add spaces around PACKAGE_VERSION to fix FTBFS with -std=c++11
Diffstat (limited to 'methods/http.cc')
-rw-r--r-- | methods/http.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/http.cc b/methods/http.cc index c8e6f1b7b..acf25a42a 100644 --- a/methods/http.cc +++ b/methods/http.cc @@ -758,7 +758,7 @@ void HttpMethod::SendReq(FetchItem *Itm,CircleBuf &Out) Base64Encode(Uri.User + ":" + Uri.Password) + "\r\n"; } Req += "User-Agent: " + _config->Find("Acquire::http::User-Agent", - "Debian APT-HTTP/1.3 ("PACKAGE_VERSION")") + "\r\n\r\n"; + "Debian APT-HTTP/1.3 (" PACKAGE_VERSION ")") + "\r\n\r\n"; if (Debug == true) cerr << Req << endl; |