diff options
| author | Zheng Chao <[email protected]> | 2023-01-28 19:30:25 +0800 |
|---|---|---|
| committer | Zheng Chao <[email protected]> | 2023-01-28 19:30:25 +0800 |
| commit | c2ac65ebd53b3b07903133a1f81ed4acd0521f8c (patch) | |
| tree | 9611b6b85452e43d0911b61a182e4b041bcf9974 /include | |
| parent | 35ace83e5ee0368cee3d6a6c2246781a52d2b1c8 (diff) | |
:bug: The log.c should not close stderr, which causes event_base_dispatch() -> epoll_wait() exit, consul_watch_slots_changes_async() failed, Resilience.AddSlotOwner failed, and many other issues.
Diffstat (limited to 'include')
| -rw-r--r-- | include/swarmkv/swarmkv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/swarmkv/swarmkv.h b/include/swarmkv/swarmkv.h index 80e927b..79d998c 100644 --- a/include/swarmkv/swarmkv.h +++ b/include/swarmkv/swarmkv.h @@ -43,7 +43,7 @@ void swarmkv_reply_free(struct swarmkv_reply *reply); void swarmkv_reply_print(const struct swarmkv_reply *reply, FILE* stream); struct swarmkv_options; -struct swarmkv_options* swarmkv_options_new(void); +struct swarmkv_options *swarmkv_options_new(void); int swarmkv_options_set_cluster_port(struct swarmkv_options *opts, unsigned int cluster_port); int swarmkv_options_set_health_check_port(struct swarmkv_options *opts, unsigned int health_check_port); int swarmkv_options_set_cluster_timeout_us(struct swarmkv_options *opts, unsigned int timeout_us); |
