From 5d449964e0840ea969b405c9995a6ae1b6beece6 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期二, 26 一月 2021 18:43:43 +0800 Subject: [PATCH] update --- src/net/net_mod_socket.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/net/net_mod_socket.cpp b/src/net/net_mod_socket.cpp index 3ef15b9..baeef65 100644 --- a/src/net/net_mod_socket.cpp +++ b/src/net/net_mod_socket.cpp @@ -345,6 +345,7 @@ if(ret == 0 ) { n_pub_suc++; } + return n_pub_suc; } for (i = 0; i < arrlen; i++) { @@ -374,7 +375,7 @@ } request_head.mod = BUS; memcpy(request_head.host, node->host, sizeof(request_head.host)); - request_head.key = node->key; + request_head.key = SHM_BUS_KEY; request_head.content_length = content_size; request_head.topic_length = strlen(topic) + 1; request_head.timeout = msec; -- Gitblit v1.8.0