From 3c66ceadb3f7447ab4d2ef4cfe6e8d6886ef5339 Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Fri, 4 Mar 2016 03:54:16 +0000 Subject: VKontakte: remove unneeded netloging git-svn-id: http://svn.miranda-ng.org/main/trunk@16414 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/misc.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp index 0ea0ebb483..370e4ba624 100644 --- a/protocols/VKontakte/src/misc.cpp +++ b/protocols/VKontakte/src/misc.cpp @@ -688,11 +688,9 @@ void CVkProto::MarkDialogAsRead(MCONTACT hContact) if (!db_event_get(hDBEvent, &dbei) && !mir_strcmp(m_szModuleName, dbei.szModule)) { db_event_markRead(hContact, hDBEvent); - int res1 = pcli->pfnRemoveEvent(hMContact, hDBEvent); - int res2 = 2; + pcli->pfnRemoveEvent(hMContact, hDBEvent); if (hContact != hMContact) - res2 = pcli->pfnRemoveEvent(hContact, hDBEvent); - debugLogA("CVkProto::MarkDialogAsRead [1] result = (%d, %d), hDbEvent = %d", res1, res2, (int)hDBEvent); + pcli->pfnRemoveEvent(hContact, hDBEvent); } } } -- cgit v1.2.3