summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/src/dialogs.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 10:06:32 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 10:06:32 +0000
commit5a17c9299e03bebf46169927abdeee34aaf8e854 (patch)
treecbd13080f33ac0b6396b9d3b8ba31a3c98de59f8 /plugins/MirOTR/src/dialogs.cpp
parented64312924e77707e7e5b5965c301692519f293a (diff)
replace strlen to mir_strlen
git-svn-id: http://svn.miranda-ng.org/main/trunk@13747 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/src/dialogs.cpp')
-rw-r--r--plugins/MirOTR/src/dialogs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MirOTR/src/dialogs.cpp b/plugins/MirOTR/src/dialogs.cpp
index c4ad4b9f63..f724c5a371 100644
--- a/plugins/MirOTR/src/dialogs.cpp
+++ b/plugins/MirOTR/src/dialogs.cpp
@@ -280,7 +280,7 @@ INT_PTR CALLBACK DlgSMPResponseProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
char *ans = mir_utf8encodeT(answer);
delete[] answer;
- otr_continue_smp(context, (const unsigned char *)ans, strlen(ans));
+ otr_continue_smp(context, (const unsigned char *)ans, mir_strlen(ans));
mir_free(ans);
SetWindowLongPtr(hwndDlg, GWLP_USERDATA, NULL);
DestroyWindow(hwndDlg);
@@ -439,7 +439,7 @@ INT_PTR CALLBACK DlgProcSMPInitProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
delete answer;
SMPInitUpdateDialog(context, false);
- otr_start_smp(context, quest, (const unsigned char*)ans, strlen(ans));
+ otr_start_smp(context, quest, (const unsigned char*)ans, mir_strlen(ans));
mir_free(quest);
mir_free(ans);
}
@@ -457,7 +457,7 @@ INT_PTR CALLBACK DlgProcSMPInitProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
delete[] answer;
SMPInitUpdateDialog(context, false);
- otr_start_smp(context, NULL, (const unsigned char*)ans, strlen(ans));
+ otr_start_smp(context, NULL, (const unsigned char*)ans, mir_strlen(ans));
mir_free(ans);
}
@@ -613,7 +613,7 @@ void SMPDialogReply(ConnContext *context, const char* question){
ShowError(_T("SMP requires user password (NOT IMPL YET)"));
otr_abort_smp(context);
*/
- //otr_continue_smp(context, pass, strlen(pass));
+ //otr_continue_smp(context, pass, mir_strlen(pass));
}
unsigned int CALLBACK verify_context_thread(void *param);