summaryrefslogtreecommitdiff
path: root/plugins/Spamotron/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Spamotron/src/utils.cpp')
-rw-r--r--plugins/Spamotron/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Spamotron/src/utils.cpp b/plugins/Spamotron/src/utils.cpp
index 2c8ba48df7..8dc361d002 100644
--- a/plugins/Spamotron/src/utils.cpp
+++ b/plugins/Spamotron/src/utils.cpp
@@ -498,7 +498,7 @@ void MarkUnread(MCONTACT hContact)
memcpy(&_dbei.timestamp, pos, sizeof(DWORD)); pos += sizeof(DWORD);
_dbei.szModule = (char*)malloc(mir_strlen((const char*)pos)+1);
- strcpy(_dbei.szModule, (const char*)pos);
+ mir_strcpy(_dbei.szModule, (const char*)pos);
pos += mir_strlen((const char*)pos)+1;
memcpy(&_dbei.cbBlob, pos, sizeof(DWORD)); pos += sizeof(DWORD);