1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Rework client handling of server requests.

This commit is contained in:
Bartosz Taudul
2017-09-22 01:54:04 +02:00
parent 0f99705243
commit 70ad3407c0
3 changed files with 35 additions and 11 deletions
+3
View File
@@ -290,6 +290,9 @@ void View::CheckString( uint64_t ptr )
if( m_pendingStrings.find( ptr ) != m_pendingStrings.end() ) return;
m_pendingStrings.emplace( ptr );
uint8_t type = ServerQueryString;
m_sock.Send( &type, sizeof( type ) );
m_sock.Send( &ptr, sizeof( ptr ) );
}