From 54951dfb930bea890aef14be02236f81b3a19f2e Mon Sep 17 00:00:00 2001
From: cheliequan <liequanche@126.com>
Date: 星期二, 27 十二月 2022 10:23:43 +0800
Subject: [PATCH] 更新消息通知库,使用basic_create_ipc_server函数创建消息监听服务器

---
 src/ipc_msg.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ipc_msg.c b/src/ipc_msg.c
index 0530fd4..804eafa 100644
--- a/src/ipc_msg.c
+++ b/src/ipc_msg.c
@@ -57,7 +57,7 @@
 int  send_fd_sendmsg(int  fd, memfd_data_st** ppmemfd_data)
 {
   memfd_data_st *ptr_memfd_data = *ppmemfd_data; 
-  return send_fd_args(fd, ptr_memfd_data->memfd, ptr_memfd_data->pid, &ptr_memfd_data->data, ptr_memfd_data->len);
+  return send_fd_args_sendmsg(fd, ptr_memfd_data->memfd, ptr_memfd_data->pid, &ptr_memfd_data->data, ptr_memfd_data->len);
 }
 
 /**
@@ -102,4 +102,4 @@
   memset(*ppmemfd_data, 0, control_len);
   memcpy(*ppmemfd_data, CMSG_DATA(&cm),  control_len);
   return ret;
-}
\ No newline at end of file
+}

--
Gitblit v1.8.0