look up version rather than hardcode

This commit is contained in:
Peter Thorson
2013-06-14 21:48:29 -05:00
parent cae30acf91
commit 54dd4c8084

View File

@@ -61,7 +61,7 @@ int main(int argc, char* argv[]) {
std::stringstream url;
url << uri << "/runCase?case=" << i << "&agent=WebSocketpp/0.3.0-alpha2";
url << uri << "/runCase?case=" << i << "&agent=" << websocketpp::user_agent;
con = echo_client.get_connection(url.str(), ec);