summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorzhengchao <[email protected]>2022-03-06 21:55:19 +0500
committerzhengchao <[email protected]>2022-03-06 21:55:19 +0500
commitc7c809226c34584fd65bd075632aaba028543cd2 (patch)
tree6b17863865bcf345b392c40f4b8d378399fe8c5b /include
parent986d8dd7d3b55a863315c5a342662e41b1a7da4b (diff)
引入缓存推送机制,使用future promise重构异步kv命令执行。
Diffstat (limited to 'include')
-rw-r--r--include/swarmkv/swarmkv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/swarmkv/swarmkv.h b/include/swarmkv/swarmkv.h
index 24b97f0..f674b7d 100644
--- a/include/swarmkv/swarmkv.h
+++ b/include/swarmkv/swarmkv.h
@@ -33,7 +33,7 @@ struct swarmkv_reply
int len; /* Length of string */
char *str; /* Used for both SWARMKV_REPLY_ERROR and SWARMKV_REPLY_STRING */
size_t n_element; /* number of elements, for SWARMKV_REPLY_ARRAY */
- struct swarmkv_reply **element;/* elements vector for SWARMKV_REPLY_ARRAY */
+ struct swarmkv_reply **elements;/* elements vector for SWARMKV_REPLY_ARRAY */
};
void swarmkv_reply_free(struct swarmkv_reply *reply);