From b90ba316b54db321d3e8aaac7df93b46d80b9d9c Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期二, 22 十二月 2020 15:47:41 +0800 Subject: [PATCH] 三个没有回收的信号 --- test_socket/test_timeout.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test_socket/test_timeout.c b/test_socket/test_timeout.c index e48f0b4..a7b62af 100644 --- a/test_socket/test_timeout.c +++ b/test_socket/test_timeout.c @@ -1,5 +1,5 @@ #include "dgram_mod_socket.h" -#include "shm_mm.h" +#include "shm_mm_wraper.h" #include "usg_common.h" void server(int port) { @@ -42,7 +42,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