mirror of
https://github.com/Tiiffi/mcrcon.git
synced 2025-10-27 11:21:07 -04:00
Fixed compiler bug
This fixes the compiler issue: ``` mcrcon.c: In function ‘packet_build’: mcrcon.c:576:2: warning: ‘strncpy’ specified bound 4096 equals destination size [-Wstringop-truncation] strncpy(packet.data, s1, DATA_BUFFSIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```
This commit is contained in:
Reference in New Issue
Block a user