From 3e9f5b869dd32441fdd3d77091cb33ef4301f244 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期二, 06 四月 2021 20:26:20 +0800 Subject: [PATCH] use BHCenter. --- src/topic_request.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/topic_request.cpp b/src/topic_request.cpp index 322ed64..382ce21 100644 --- a/src/topic_request.cpp +++ b/src/topic_request.cpp @@ -191,7 +191,7 @@ BHMsg result; const BHMsg &msg = MakeQueryTopic(mq().Id(), topic); - if (SyncSendAndRecv(&BHTopicReqRepCenter(), &msg, &result, timeout_ms)) { + if (SyncSendAndRecv(&BHTopicCenterAddress(), &msg, &result, timeout_ms)) { if (result.type() == kMsgTypeQueryTopicReply) { MsgQueryTopicReply reply; if (reply.ParseFromString(result.body())) { -- Gitblit v1.8.0