From ec8a7614a371f41937dc1dbc2d53289e45706e3a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 21 May 2023 13:56:23 +0300 Subject: static function pfnGetEvent removed from CLIST_INTERFACE --- src/core/stdfile/src/file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/stdfile') diff --git a/src/core/stdfile/src/file.cpp b/src/core/stdfile/src/file.cpp index 652da6a36c..20e9ba44a9 100644 --- a/src/core/stdfile/src/file.cpp +++ b/src/core/stdfile/src/file.cpp @@ -266,7 +266,7 @@ static int SRFileProtoAck(WPARAM, LPARAM lParam) ACKDATA *ack = (ACKDATA*)lParam; if (ack->type == ACKTYPE_FILE) { int iEvent = 0; - while (CLISTEVENT *cle = g_clistApi.pfnGetEvent(ack->hContact, iEvent++)) + while (auto *cle = Clist_GetEvent(ack->hContact, iEvent++)) if (cle->lParam == (LPARAM)ack->hProcess) g_clistApi.pfnRemoveEvent(ack->hContact, cle->hDbEvent); } -- cgit v1.2.3