From f6535ea2ae09b3cdca9104fa19dfff39a47271ea Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期三, 21 四月 2021 18:40:47 +0800 Subject: [PATCH] change api, add request remote address. --- utest/utest.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/utest/utest.cpp b/utest/utest.cpp index b2de97f..fae22b1 100644 --- a/utest/utest.cpp +++ b/utest/utest.cpp @@ -233,7 +233,7 @@ boost::timer::auto_cpu_timer timer; for (int i = 0; i < nreq; ++i) { std::string msg_id; - if (!client.ClientAsyncRequest(req, msg_id)) { + if (!client.ClientAsyncRequest(BHAddress(), req, msg_id)) { printf("client request failed\n"); ++count; } -- Gitblit v1.8.0