From 3ce014732763fd28a7b03d5ce99ec990f830f985 Mon Sep 17 00:00:00 2001 From: cheliequan <liequanche@126.com> Date: 星期五, 30 十二月 2022 15:59:41 +0800 Subject: [PATCH] 1.客户端支持只获取memfd,只获取数据,同时获取memfd和数据 2.优化代码,所有日志使用mydebug --- sample/shmht_mytests.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sample/shmht_mytests.c b/sample/shmht_mytests.c index 5b316b1..6c5c0a6 100644 --- a/sample/shmht_mytests.c +++ b/sample/shmht_mytests.c @@ -444,7 +444,7 @@ assert(shmht_count (h[0]) == 1); - int ret_size; + size_t ret_size; void *ret = shmht_search(h[0], key, strlen (key), &ret_size); assert(ret != NULL); -- Gitblit v1.8.0