Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/src/webservice.cpp b/src/webservice.cpp 2index 3a36167..df14812 100644 3--- a/src/webservice.cpp 4+++ b/src/webservice.cpp 5@@ -184,7 +184,7 @@ WebService::get(const std::string &entity, 6 if (!sess) 7 throw WebServiceError("ne_session_create() failed."); 8 ne_set_server_auth(sess, httpAuth, this); 9- ne_set_useragent(sess, PACKAGE"/"VERSION); 10+ ne_set_useragent(sess, PACKAGE "/" VERSION); 11 12 // Use proxy server 13 if (!d->proxyHost.empty()) { 14@@ -269,7 +269,7 @@ WebService::post(const std::string &entity, 15 if (!sess) 16 throw WebServiceError("ne_session_create() failed."); 17 ne_set_server_auth(sess, httpAuth, this); 18- ne_set_useragent(sess, PACKAGE"/"VERSION); 19+ ne_set_useragent(sess, PACKAGE "/" VERSION); 20 21 // Use proxy server 22 if (!d->proxyHost.empty()) {