Use strlcpy, rather than strmcpy, in set_input_heb().
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@369 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -513,7 +513,7 @@ void BX_set_input (char *str)
|
|||||||
*/
|
*/
|
||||||
void BX_set_input_heb (char *str)
|
void BX_set_input_heb (char *str)
|
||||||
{
|
{
|
||||||
strmcpy(INPUT_BUFFER + MIN_POS, str, INPUT_BUFFER_SIZE - MIN_POS);
|
strlcpy(INPUT_BUFFER + MIN_POS, str, INPUT_BUFFER_SIZE - MIN_POS);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user