Use strlcat, rather than strmcat, in the definition of HANDLE_TYPE().

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@401 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Tim Cava
2013-10-20 18:32:07 +00:00
parent faa052b597
commit bfb9dc3d54

View File

@@ -625,9 +625,9 @@ long ret = -1;
#define HANDLE_TYPE(x, y) \
if ((tmp->dont & x) == x) \
strmcat(buffer, " DONT-" y, BIG_BUFFER_SIZE); \
strlcat(buffer, " DONT-" y, sizeof buffer); \
else if ((tmp->type & x) == x) \
strmcat(buffer, " " y, BIG_BUFFER_SIZE); \
strlcat(buffer, " " y, sizeof buffer); \
else if ((tmp->high & x) == x) \
strmopencat(buffer, BIG_BUFFER_SIZE, space, high, y, high, NULL);