summaryrefslogtreecommitdiff
path: root/plugins/StopSpamPlus/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StopSpamPlus/src')
-rw-r--r--plugins/StopSpamPlus/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/StopSpamPlus/src/utils.cpp b/plugins/StopSpamPlus/src/utils.cpp
index 0f939bb946..4f4e1b407d 100644
--- a/plugins/StopSpamPlus/src/utils.cpp
+++ b/plugins/StopSpamPlus/src/utils.cpp
@@ -46,7 +46,7 @@ tstring variables_parse(tstring const &tstrFormat, MCONTACT hContact){
FORMATINFO fi;
tstring tstrResult;
- ZeroMemory(&fi, sizeof(fi));
+ memset(&fi, 0, sizeof(fi));
fi.cbSize = sizeof(fi);
fi.tszFormat = _tcsdup(tstrFormat.c_str());
fi.hContact = hContact;