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:
@@ -625,9 +625,9 @@ long ret = -1;
|
|||||||
|
|
||||||
#define HANDLE_TYPE(x, y) \
|
#define HANDLE_TYPE(x, y) \
|
||||||
if ((tmp->dont & x) == x) \
|
if ((tmp->dont & x) == x) \
|
||||||
strmcat(buffer, " DONT-" y, BIG_BUFFER_SIZE); \
|
strlcat(buffer, " DONT-" y, sizeof buffer); \
|
||||||
else if ((tmp->type & x) == x) \
|
else if ((tmp->type & x) == x) \
|
||||||
strmcat(buffer, " " y, BIG_BUFFER_SIZE); \
|
strlcat(buffer, " " y, sizeof buffer); \
|
||||||
else if ((tmp->high & x) == x) \
|
else if ((tmp->high & x) == x) \
|
||||||
strmopencat(buffer, BIG_BUFFER_SIZE, space, high, y, high, NULL);
|
strmopencat(buffer, BIG_BUFFER_SIZE, space, high, y, high, NULL);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user