diff options
| author | Zheng Chao <[email protected]> | 2024-04-08 16:10:18 +0800 |
|---|---|---|
| committer | 郑超 <[email protected]> | 2024-05-28 02:40:48 +0000 |
| commit | dedc8317c36c88b585a0ea1d8cebd757aa1ddf0b (patch) | |
| tree | 9da487e707cc367f0159bc58d8520e6079db0965 /src | |
| parent | adbf82d087f5aeac880c6b618300dd7172c78d86 (diff) | |
Update cli.md
Diffstat (limited to 'src')
| -rw-r--r-- | src/t_cms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/t_cms.c b/src/t_cms.c index 587d3e2..cb0f8dd 100644 --- a/src/t_cms.c +++ b/src/t_cms.c @@ -277,7 +277,7 @@ enum cmd_exec_result cmsrlist_command(struct swarmkv_module *mod_store, const st { char uuid_str[37]; uuid_unparse(replicas[i], uuid_str); - (*reply)->elements[i]=swarmkv_reply_new_string(uuid_str, strlen(uuid_str)+1); + (*reply)->elements[i]=swarmkv_reply_new_string(uuid_str, strlen(uuid_str)); } return FINISHED; } |
