diff options
author | vjpai <vpai@google.com> | 2015-11-30 15:52:50 -0800 |
---|---|---|
committer | vjpai <vpai@google.com> | 2015-11-30 15:52:50 -0800 |
commit | b6df94ad220b9e48d306150184848db614cc3506 (patch) | |
tree | a99dd2bc971f3851160bb04efc9a368d2bf2577a /test/cpp/qps/server.h | |
parent | 1505b69e9f11075cd4292044f6f6b56412a746e2 (diff) |
WIP
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 6e81edc8ff..7c52443d4e 100644 --- a/test/cpp/qps/server.h +++ b/test/cpp/qps/server.h @@ -75,12 +75,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; |