mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
23 lines
785 B
Diff
23 lines
785 B
Diff
diff --git a/src/webservice.cpp b/src/webservice.cpp
|
|
index 3a36167..df14812 100644
|
|
--- a/src/webservice.cpp
|
|
+++ b/src/webservice.cpp
|
|
@@ -184,7 +184,7 @@ WebService::get(const std::string &entity,
|
|
if (!sess)
|
|
throw WebServiceError("ne_session_create() failed.");
|
|
ne_set_server_auth(sess, httpAuth, this);
|
|
- ne_set_useragent(sess, PACKAGE"/"VERSION);
|
|
+ ne_set_useragent(sess, PACKAGE "/" VERSION);
|
|
|
|
// Use proxy server
|
|
if (!d->proxyHost.empty()) {
|
|
@@ -269,7 +269,7 @@ WebService::post(const std::string &entity,
|
|
if (!sess)
|
|
throw WebServiceError("ne_session_create() failed.");
|
|
ne_set_server_auth(sess, httpAuth, this);
|
|
- ne_set_useragent(sess, PACKAGE"/"VERSION);
|
|
+ ne_set_useragent(sess, PACKAGE "/" VERSION);
|
|
|
|
// Use proxy server
|
|
if (!d->proxyHost.empty()) {
|