From aa2f3b2a9968bb4928463bdae05fb026d16b60bb Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期五, 04 十二月 2020 19:07:01 +0800 Subject: [PATCH] 固定bus key --- demo/stream_mod_req_rep.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/stream_mod_req_rep.c b/demo/stream_mod_req_rep.c index 5ae3133..24a2386 100644 --- a/demo/stream_mod_req_rep.c +++ b/demo/stream_mod_req_rep.c @@ -1,5 +1,5 @@ #include "mod_socket.h" -#include "shm_mm.h" +#include "shm_mm_wraper.h" #include "usg_common.h" void server(int port) { @@ -39,7 +39,7 @@ int main(int argc, char *argv[]) { - shm_init(512); + shm_mm_wrapper_init(512); int port; if (argc < 3) { fprintf(stderr, "Usage: reqrep %s|%s <PORT> ...\n", "server", "client"); -- Gitblit v1.8.0