diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-16 17:40:01 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-16 17:40:01 +0000 |
commit | af6cd836a72997b86612dc38adfebf417e171a93 (patch) | |
tree | a91440ef21f66a2bca3dc1e42f620227a8e55728 /plugins/FileAsMessage | |
parent | f869380300b7f278000ac65ee0f8869fe9f8d520 (diff) |
fix for strncat use
git-svn-id: http://svn.miranda-ng.org/main/trunk@13627 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FileAsMessage')
-rw-r--r-- | plugins/FileAsMessage/src/dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FileAsMessage/src/dialog.cpp b/plugins/FileAsMessage/src/dialog.cpp index 58dfb1fad2..ca8a746957 100644 --- a/plugins/FileAsMessage/src/dialog.cpp +++ b/plugins/FileAsMessage/src/dialog.cpp @@ -429,7 +429,7 @@ void FILEECHO::incomeRequest(char *param) char *p = strchr(param, '?');
if (p == NULL) return; *p++ = 0;
CallService(MS_FILE_GETRECEIVEDFILESFOLDER, hContact, (LPARAM)buf);
- mir_strncat(buf, param, SIZEOF(buf));
+ mir_strncat(buf, param, SIZEOF(buf) - mir_strlen(buf));
free(filename);
filename = mir_strdup(buf);
// p == &c
|