Actually use strlcpy.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@352 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -1031,7 +1031,7 @@ char thing = 0;
|
||||
if (!strcmp(cmd, "PRIVMSG"))
|
||||
strlcpy(tmp, "CTCP_MESSAGE ", sizeof tmp);
|
||||
else
|
||||
strmcpy(tmp, "CTCP_REPLY ", sizeof tmp);
|
||||
strlcpy(tmp, "CTCP_REPLY ", sizeof tmp);
|
||||
}
|
||||
|
||||
strmcat(tmp, text, n->blocksize-3);
|
||||
|
||||
Reference in New Issue
Block a user