From 9b45dbb35a3fb8a9885b72da231bf03671979d86 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 23 May 2015 19:43:54 +0000 Subject: Tox: updated tox core git-svn-id: http://svn.miranda-ng.org/main/trunk@13792 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_options.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Tox/src/tox_options.cpp') diff --git a/protocols/Tox/src/tox_options.cpp b/protocols/Tox/src/tox_options.cpp index 40cfa41e49..71cbb5fd7e 100644 --- a/protocols/Tox/src/tox_options.cpp +++ b/protocols/Tox/src/tox_options.cpp @@ -74,16 +74,16 @@ void CToxOptionsMain::ProfileCreate_OnClick(CCtrlButton*) HANDLE hProfile = CreateFile(profilePath.c_str(), GENERIC_READ | GENERIC_WRITE, 0, NULL, CREATE_NEW, FILE_ATTRIBUTE_NORMAL, NULL); if (hProfile == NULL) { - // TODO: warh error + m_proto->debugLogA(__FUNCTION__": failed to create tox profile"); return; } CloseHandle(hProfile); TOX_ERR_NEW initError; - m_proto->tox = tox_new(NULL, NULL, 0, &initError); + m_proto->tox = tox_new(NULL, &initError); if (initError != TOX_ERR_NEW_OK) { - // TODO: warh error + m_proto->debugLogA(__FUNCTION__": failed to load tox profile (%d)", initError); return; } } -- cgit v1.2.3