diff options
author | George Hazan <ghazan@miranda.im> | 2022-12-13 13:00:51 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-12-13 13:00:51 +0300 |
commit | f07cb8ea8e0f6bf4586700d2f5d6ab1d908992ca (patch) | |
tree | 493b9665cd39a2a5fddbbe30f33e9abd146663a3 /protocols/YAMN/src/proto | |
parent | 46793bcdf9bdc0c48a509aa1a2d41dbc262500bf (diff) |
useless service removed
Diffstat (limited to 'protocols/YAMN/src/proto')
-rw-r--r-- | protocols/YAMN/src/proto/pop3/pop3comm.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/protocols/YAMN/src/proto/pop3/pop3comm.cpp b/protocols/YAMN/src/proto/pop3/pop3comm.cpp index 39bd4063fd..946b93ea54 100644 --- a/protocols/YAMN/src/proto/pop3/pop3comm.cpp +++ b/protocols/YAMN/src/proto/pop3/pop3comm.cpp @@ -439,15 +439,13 @@ static void PostErrorProc(HPOP3ACCOUNT ActualAccount, void *ParamToBadConnection return; } } - else //else it was called from POP3 plugin, probably error when deleting old mail (POP3 synchro calls POP3 delete) + else // else it was called from POP3 plugin, probably error when deleting old mail (POP3 synchro calls POP3 delete) if (ErrorCode == nullptr) return; - if ((ActualAccount->BadConnectN.Flags & YAMN_ACC_MSG) || (ActualAccount->BadConnectN.Flags & YAMN_ACC_ICO) || (ActualAccount->BadConnectN.Flags & YAMN_ACC_POP)) { - YAMN_BADCONNECTIONPARAM cp = {(HANDLE)nullptr, ActualAccount, (UINT_PTR)ErrorCode, ParamToBadConnection}; + if ((ActualAccount->BadConnectN.Flags & YAMN_ACC_MSG) || (ActualAccount->BadConnectN.Flags & YAMN_ACC_ICO) || (ActualAccount->BadConnectN.Flags & YAMN_ACC_POP)) + RunBadConnection(ActualAccount, (UINT_PTR)ErrorCode, ParamToBadConnection); - CallService(MS_YAMN_BADCONNECTION, (WPARAM)&cp, (LPARAM)YAMN_BADCONNECTIONVERSION); - } if (POP3PluginParam == (uint32_t)NULL) //if it was normal YAMN call SetEvent(ActualAccount->UseInternetFree); } |