On Tuesday, September 10, 2013 11:11:52 PM Sven Eckelmann wrote:
The length field (n) of strncat is used to specify the length of the buffer without the \0 delimiter. strncat will add it even when it will write it to the limit of n bytes was written.
Signed-off-by: Sven Eckelmann sven@narfation.org
bat-hosts.c | 2 +- functions.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
Applied in revision f1e262c.
Thanks, Marek