summaryrefslogtreecommitdiff
path: root/plugins/CmdLine/MimCmd
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-23 17:01:01 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-23 17:01:01 +0000
commitd5ee0fc23bdc1a194774591eb4ce63b8bebb8d6e (patch)
tree47da9333297ad6bd11d88762adba1ad5d55fa940 /plugins/CmdLine/MimCmd
parentab13aa962b5064fe85ec0562c04d16e8920e92e0 (diff)
replace strncat to mir_strncat
git-svn-id: http://svn.miranda-ng.org/main/trunk@13780 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CmdLine/MimCmd')
-rw-r--r--plugins/CmdLine/MimCmd/src/commands.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CmdLine/MimCmd/src/commands.cpp b/plugins/CmdLine/MimCmd/src/commands.cpp
index c644dd7cc6..2cbdfe7430 100644
--- a/plugins/CmdLine/MimCmd/src/commands.cpp
+++ b/plugins/CmdLine/MimCmd/src/commands.cpp
@@ -141,11 +141,11 @@ void HandleHelpCommand(PCommand helpCommand, char *argv[], int argc, PReply repl
for (int i = 0; i < cKnownCommands - 1; i++)
{
- strncat(reply->message, knownCommands[i].command, SIZEOF(reply->message) - mir_strlen(reply->message));
- strncat(reply->message, ", ", SIZEOF(reply->message) - mir_strlen(reply->message));
+ mir_strncat(reply->message, knownCommands[i].command, SIZEOF(reply->message) - mir_strlen(reply->message));
+ mir_strncat(reply->message, ", ", SIZEOF(reply->message) - mir_strlen(reply->message));
}
- strncat(reply->message, knownCommands[cKnownCommands - 1].command, SIZEOF(reply->message) - mir_strlen(reply->message));
- strncat(reply->message, ".", SIZEOF(reply->message) - mir_strlen(reply->message));
+ mir_strncat(reply->message, knownCommands[cKnownCommands - 1].command, SIZEOF(reply->message) - mir_strlen(reply->message));
+ mir_strncat(reply->message, ".", SIZEOF(reply->message) - mir_strlen(reply->message));
}
}