From 70fec55c71f707358e6dba1b551d7836e93a5c78 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期二, 06 四月 2021 19:30:50 +0800 Subject: [PATCH] refactor. --- 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 ce7c1a8..322ed64 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(&kBHTopicReqRepCenter, &msg, &result, timeout_ms)) { + if (SyncSendAndRecv(&BHTopicReqRepCenter(), &msg, &result, timeout_ms)) { if (result.type() == kMsgTypeQueryTopicReply) { MsgQueryTopicReply reply; if (reply.ParseFromString(result.body())) { -- Gitblit v1.8.0