diff options
Diffstat (limited to 'FICS/talkproc.c')
-rw-r--r-- | FICS/talkproc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/FICS/talkproc.c b/FICS/talkproc.c index d9dd8ec..143da06 100644 --- a/FICS/talkproc.c +++ b/FICS/talkproc.c @@ -968,10 +968,10 @@ com_qtell(int p, param_list param) return COM_OK; } - strcpy(buffer1, ":\0"); - strcpy(buffer2, ":\0"); - strcpy(buffer3, ":\0"); - strcpy(buffer4, ":\0"); + mstrlcpy(buffer1, ":\0", sizeof buffer1); + mstrlcpy(buffer2, ":\0", sizeof buffer2); + mstrlcpy(buffer3, ":\0", sizeof buffer3); + mstrlcpy(buffer4, ":\0", sizeof buffer4); msnprintf(tmp, sizeof tmp, "%s", param[1].val.string); |