diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 19:52:29 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 19:52:29 +0000 |
commit | babf7873a3fe373d60ef22b1b671d98e014d8819 (patch) | |
tree | e21dfdb68839616efbbd884dfa77a1745f1c35d7 /plugins/FTPFileYM/src/dbentry.cpp | |
parent | a89887eb202c99ce09107668561abce6704f9004 (diff) |
replace strcpy to mir_strcpy
git-svn-id: http://svn.miranda-ng.org/main/trunk@13763 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FTPFileYM/src/dbentry.cpp')
-rw-r--r-- | plugins/FTPFileYM/src/dbentry.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/FTPFileYM/src/dbentry.cpp b/plugins/FTPFileYM/src/dbentry.cpp index 4d23aa323b..b389c40430 100644 --- a/plugins/FTPFileYM/src/dbentry.cpp +++ b/plugins/FTPFileYM/src/dbentry.cpp @@ -28,7 +28,7 @@ DBEntry::DBEntry(DBEntry *entry) {
this->fileID = entry->fileID;
this->iFtpNum = entry->iFtpNum;
- strcpy(this->szFileName, entry->szFileName);
+ mir_strcpy(this->szFileName, entry->szFileName);
}
DBEntry *DBEntry::getFirts()
@@ -52,7 +52,7 @@ DBEntry *DBEntry::getNext(DBEntry *entry) {
entry->fileID = entryID;
entry->iFtpNum = ftpNum;
- strcpy(entry->szFileName, szValue);
+ mir_strcpy(entry->szFileName, szValue);
entry->deleteTS = DB::getDwordF(0, MODULE_FILES, "DeleteTS%d", entryID, 0);
entryID++;
return entry;
@@ -95,7 +95,7 @@ DBEntry *DBEntry::get(int fileID) {
entry->fileID = fileID;
entry->iFtpNum = ftpNum;
- strcpy(entry->szFileName, szValue);
+ mir_strcpy(entry->szFileName, szValue);
entry->deleteTS = DB::getDwordF(0, MODULE_FILES, "DeleteTS%d", fileID, 0);
return entry;
}
|