From 338ac2a5744b74af5c70116ba8f798ae4f139fd4 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Sat, 10 Mar 2012 11:22:35 -0600 Subject: [PATCH] updates wsperf to use library UA constant --- examples/wsperf/wsperf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/wsperf/wsperf.cpp b/examples/wsperf/wsperf.cpp index 021e29f6ff..cbd4bf560b 100644 --- a/examples/wsperf/wsperf.cpp +++ b/examples/wsperf/wsperf.cpp @@ -45,7 +45,7 @@ #define WSPERF_CONFIG "~/.wsperf" #endif -static const std::string user_agent = "wsperf/0.2.0dev WebSocket++/0.2.0dev"; +static const std::string user_agent = "wsperf/0.2.0dev "+websocketpp::USER_AGENT; using websocketpp::client; namespace po = boost::program_options;