From 1388e881fe407254bd9a6df4a3b4451291969079 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期一, 08 二月 2021 17:00:21 +0800 Subject: [PATCH] update --- src/shm/hashtable.h | 2 +- shm_util/shm_util.cpp | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/shm_util/shm_util.cpp b/shm_util/shm_util.cpp index 2f49fa8..8ce411e 100644 --- a/shm_util/shm_util.cpp +++ b/shm_util/shm_util.cpp @@ -1,3 +1,6 @@ +/** + * 鏌ョ湅涓庣Щ鍑簁ey鐨勫伐鍏� + */ #include <assert.h> #include "net_mod_server_socket_wrapper.h" #include "net_mod_socket_wrapper.h" @@ -10,7 +13,7 @@ static void usage(const char *name) { - printf("Usage: %s {list}\n", name); + printf("Usage: %s {list | rm ...}\n", name); } diff --git a/src/shm/hashtable.h b/src/shm/hashtable.h index c19e899..90043c3 100755 --- a/src/shm/hashtable.h +++ b/src/shm/hashtable.h @@ -41,7 +41,7 @@ /** * 閬嶅巻hash_table * @demo - * hashtable_foreach(&hashtable, [&](int key, void * value){ + * hashtable_foreach(hashtable, [&](int key, void * value){ * printf("%d, %p\n", key, value); * }); * -- Gitblit v1.8.0