From 4de9626a994983589ebb00a369a06d606e668bc3 Mon Sep 17 00:00:00 2001 From: Tim Cava Date: Mon, 26 Aug 2013 08:06:36 +0000 Subject: [PATCH] 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 --- source/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/input.c b/source/input.c index 24ae9e4..eb71a2d 100644 --- a/source/input.c +++ b/source/input.c @@ -513,7 +513,7 @@ void BX_set_input (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