diff options
author | Vijay Pai <vpai@google.com> | 2016-01-13 13:29:41 -0800 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2016-01-13 13:29:41 -0800 |
commit | b9a8f1ba396becc94b09e4e123ea6445444ac09a (patch) | |
tree | ca9ecd0c4b4520c8383285b95b35769cebee66b0 /test/cpp/qps/server.h | |
parent | 3448c27275aced9d591b70358d130f3059499b73 (diff) | |
parent | 16a7dee6141785092ee2aae4a11d2e9f590a1847 (diff) |
Merge branch 'master' into corelimit2
Diffstat (limited to 'test/cpp/qps/server.h')
-rw-r--r-- | test/cpp/qps/server.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/cpp/qps/server.h b/test/cpp/qps/server.h index 3d2ffa8710..a31114cb44 100644 --- a/test/cpp/qps/server.h +++ b/test/cpp/qps/server.h @@ -87,12 +87,11 @@ class Server { } static bool SetPayload(PayloadType type, int size, Payload* payload) { - PayloadType response_type = type; // TODO(yangg): Support UNCOMPRESSABLE payload. if (type != PayloadType::COMPRESSABLE) { return false; } - payload->set_type(response_type); + payload->set_type(type); std::unique_ptr<char[]> body(new char[size]()); payload->set_body(body.get(), size); return true; |