From aa1542b6d6a4680088ac715c4ce40f97ada554fb Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期三, 14 四月 2021 17:52:31 +0800 Subject: [PATCH] add SendQ TrySend() TryRecv(); handle re-register. --- src/bh_api.cpp | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/bh_api.cpp b/src/bh_api.cpp index 39e38d3..78b8a59 100644 --- a/src/bh_api.cpp +++ b/src/bh_api.cpp @@ -186,15 +186,14 @@ bool BHSendReply(void *src, const void *reply, - const int reply_len, - const int timeout_ms) + const int reply_len) { MsgRequestTopicReply rep; if (!rep.ParseFromArray(reply, reply_len)) { SetLastError(eInvalidInput, "invalid input."); return false; } - return ProcNode().ServerSendReply(src, rep, timeout_ms); + return ProcNode().ServerSendReply(src, rep); } int BHCleanUp() -- Gitblit v1.8.0