From c64c54d8e75b9354dc49a7b6b2d326e7dd59eb37 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期四, 15 四月 2021 19:32:16 +0800
Subject: [PATCH] add api; fix send, socknode mem leak.

---
 src/proto.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/proto.h b/src/proto.h
index 42fe343..b418342 100644
--- a/src/proto.h
+++ b/src/proto.h
@@ -72,7 +72,7 @@
 	SetError(*msg.mutable_errmsg(), err_code, err_str);
 	return msg;
 }
-
+std::string NewMsgId();
 BHMsgHead InitMsgHead(const MsgType type, const std::string &proc_id, const std::string &msgid);
 BHMsgHead InitMsgHead(const MsgType type, const std::string &proc_id);
 // inline void AddRoute(BHMsgHead &head, const MQId &id) { head.add_route()->set_mq_id(&id, sizeof(id)); }

--
Gitblit v1.8.0