refactoring

This commit is contained in:
Maxim Devaev
2024-03-19 19:33:55 +02:00
parent 283f31a5a6
commit 34c0dcb1ce
11 changed files with 34 additions and 29 deletions

View File

@@ -274,7 +274,7 @@ static void *_follower_thread(void *v_unix_follow) {
strncpy(addr.sun_path, path, sizeof(addr.sun_path) - 1);
addr.sun_family = AF_UNIX;
const bool online = !connect(fd, (struct sockaddr *)&addr, sizeof(addr));
const bool online = !connect(fd, (struct sockaddr*)&addr, sizeof(addr));
atomic_store(&_g_ustreamer_online, online);
US_CLOSE_FD(fd); // cppcheck-suppress unreadVariable