TDNS: Fix few incompabilities with last Csocket.

This commit is contained in:
Alexey Sokolov
2012-01-15 13:11:56 +07:00
parent 6bf026599c
commit ff8065ed32
4 changed files with 1 additions and 15 deletions

View File

@@ -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;
}