summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/utilities.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/New_GPG/src/utilities.h')
-rw-r--r--plugins/New_GPG/src/utilities.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/New_GPG/src/utilities.h b/plugins/New_GPG/src/utilities.h
index 32a99ea716..2042864468 100644
--- a/plugins/New_GPG/src/utilities.h
+++ b/plugins/New_GPG/src/utilities.h
@@ -51,12 +51,12 @@ public:
timestamp = time(0);
szModule = 0;
cbSize = 0;
- cbBlob = DWORD(strlen(msg)+1);
+ cbBlob = DWORD(mir_strlen(msg)+1);
pBlob = (PBYTE)msg;
}
db_event(char* msg, DWORD time)
{
- cbBlob = DWORD(strlen(msg)+1);
+ cbBlob = DWORD(mir_strlen(msg)+1);
pBlob = (PBYTE)msg;
eventType = EVENTTYPE_MESSAGE;
flags = 0;
@@ -66,7 +66,7 @@ public:
}
db_event(char* msg, DWORD time, int type)
{
- cbBlob = DWORD(strlen(msg)+1);
+ cbBlob = DWORD(mir_strlen(msg)+1);
pBlob = (PBYTE)msg;
if(type)
eventType = type;
@@ -79,7 +79,7 @@ public:
}
db_event(char* msg, int type)
{
- cbBlob = DWORD(strlen(msg)+1);
+ cbBlob = DWORD(mir_strlen(msg)+1);
pBlob = (PBYTE)msg;
flags = 0;
if(type)
@@ -92,7 +92,7 @@ public:
}
db_event(char* msg, DWORD time, int type, DWORD _flags)
{
- cbBlob = DWORD(strlen(msg)+1);
+ cbBlob = DWORD(mir_strlen(msg)+1);
pBlob = (PBYTE)msg;
if(type)
eventType = type;