From 0b32d978f8f60091489309b4d9f97268c9a5fae9 Mon Sep 17 00:00:00 2001 From: Tim Cava Date: Sat, 17 Aug 2013 07:31:03 +0000 Subject: [PATCH] Actually use strlcpy. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@352 13b04d17-f746-0410-82c6-800466cd88b0 --- source/dcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dcc.c b/source/dcc.c index 5c0c5d4..2f85629 100644 --- a/source/dcc.c +++ b/source/dcc.c @@ -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);