mirror of
https://github.com/TokTok/c-toxcore
synced 2026-06-08 00:04:03 +00:00
7a3ead591f
Every use of this function needs to allocate the same buffer. None of the callers uses a differently sized buffer, so we might as well put it in a struct and have the type checker prove the buffer size is correct. Also rename `ip_ntoa` to `net_ip_ntoa` to avoid clashes with ESP-IDF system libraries which define this function as well.