From 5a17c9299e03bebf46169927abdeee34aaf8e854 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 May 2015 10:06:32 +0000 Subject: replace strlen to mir_strlen git-svn-id: http://svn.miranda-ng.org/main/trunk@13747 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Nudge/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Nudge/src') diff --git a/plugins/Nudge/src/main.cpp b/plugins/Nudge/src/main.cpp index a29faf36c1..c982d21336 100644 --- a/plugins/Nudge/src/main.cpp +++ b/plugins/Nudge/src/main.cpp @@ -483,7 +483,7 @@ void Nudge_SentStatus(CNudgeElement *n, MCONTACT hContact) dbei.flags = DBEF_SENT | DBEF_UTF; dbei.timestamp = (DWORD)time(NULL); dbei.eventType = 1; - dbei.cbBlob = (DWORD)strlen(buff) + 1; + dbei.cbBlob = (DWORD)mir_strlen(buff) + 1; dbei.pBlob = (PBYTE)buff; db_event_add(hContact, &dbei); mir_free(buff); @@ -498,7 +498,7 @@ void Nudge_ShowStatus(CNudgeElement *n, MCONTACT hContact, DWORD timestamp) dbei.eventType = 1; dbei.flags = DBEF_UTF; dbei.timestamp = timestamp; - dbei.cbBlob = (DWORD)strlen(buff) + 1; + dbei.cbBlob = (DWORD)mir_strlen(buff) + 1; dbei.pBlob = (PBYTE)buff; db_event_add(hContact, &dbei); mir_free(buff); -- cgit v1.2.3