Decompile fn_20400 (CConnection::UpdateStatus)
Batch #16084 by Yommy: 1 byte-identical, 0 confirmed by peer review. - fn_20400 CConnection::UpdateStatus: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
40f88c9dfa
commit
a8cf557b2d
1 changed files with 5 additions and 1 deletions
|
|
@ -199,7 +199,11 @@ bool CConnection::Update() {
|
|||
// FUNCTION: fn_20400
|
||||
void CConnection::UpdateStatus() {
|
||||
if (this->m_socket != INVALID_SOCKET) {
|
||||
this->m_status = !this->Receive() || !this->Flush();
|
||||
if (this->Receive() && this->Flush()) {
|
||||
this->m_status = 0;
|
||||
} else {
|
||||
this->m_status = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue