Use libuv >= 1.3.0

This commit is contained in:
patrick96 2021-09-13 20:19:00 +02:00 committed by Patrick Ziegler
parent 386eb57ba7
commit 85d308cec8
3 changed files with 7 additions and 3 deletions
src/components

View file

@ -253,8 +253,8 @@ void controller::read_events(bool confwatch) {
if (confwatch) {
eloop->fs_event_handle(
m_conf.filepath(), [this](const char* path, uv_fs_event events) { confwatch_handler(path, events); },
[this](int status) {
m_log.err("libuv error while watching config file for changes: %s", uv_strerror(status));
[this](int err) {
m_log.err("libuv error while watching config file for changes: %s", uv_strerror(err));
});
}