Fix progress logging in the console socket server sample.
Output the total amount written so far. Closes #16964.
This commit is contained in:
@@ -754,7 +754,7 @@ void EventWorker::DoWrite()
|
||||
m_written += m_socket->LastCount();
|
||||
}
|
||||
LogWorker(wxString::Format("Written %d of %d bytes, todo %d",
|
||||
m_socket->LastCount(),m_size,m_size - m_written));
|
||||
m_written, m_size, m_size - m_written));
|
||||
}
|
||||
while (!m_socket->Error());
|
||||
}
|
||||
|
Reference in New Issue
Block a user