libcollectdclient: Fix the SSTRCAT macro.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 31 Jan 2009 22:28:21 +0000 (23:28 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 31 Jan 2009 22:28:21 +0000 (23:28 +0100)
commitaea179c7bbedd9e9dbbf54c8c9d772c5b26440dd
treed0a6e61916c64ddd1e562e36fc540630391dffc9
parent372705b865504ff06349eb8fa953a60cfe6e59dc
libcollectdclient: Fix the SSTRCAT macro.

The size passed to `strncat' is not the total size of the buffer, so GCC
with _FORTIFY_SOURCE rightfully complained about this macro.

Thanks to dD0T for reporting this :)
src/libcollectdclient/client.c