mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
TDNS: Fix few incompabilities with last Csocket.
This commit is contained in:
@@ -196,7 +196,7 @@ void CSockManager::TryToFinishTDNSTask(TDNSTask* task) {
|
||||
} catch (const char* s) {
|
||||
DEBUG(task->sSockName << ", dns resolving error: " << s);
|
||||
task->pcSock->SetSockName(task->sSockName);
|
||||
task->pcSock->SockTextError(s);
|
||||
task->pcSock->SockError(-1, s);
|
||||
delete task->pcSock;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user