fix: fixed ANOTHER issue with net.cpp

This commit is contained in:
AfonsoCMSousa 2026-01-07 21:56:00 +00:00
parent 159a93317e
commit ecc303ca2a
2 changed files with 0 additions and 1 deletions

Binary file not shown.

View File

@ -28,7 +28,6 @@ void Socket::connect_unix(const char *ip, uint16_t port) {
throw std::runtime_error("Failed to create UNIX socket");
}
memset(&server_addr, 0, sizeof(server_addr));
this->server_addr_unix.sun_family = AF_UNIX;
strncpy(this->server_addr_unix.sun_path, ip, sizeof(this->server_addr_unix.sun_path) - 1);