1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-30 12:53:51 +00:00

Use better variable name.

This commit is contained in:
Bartosz Taudul 2017-09-14 01:06:40 +02:00
parent 10b88754d8
commit 3e1b736b34

View File

@ -87,10 +87,10 @@ void View::Worker()
} }
else else
{ {
QueueItem hdr; QueueItem ev;
if( !sock.Read( &hdr.hdr, sizeof( QueueHeader ), &tv, ShouldExit ) ) goto close; if( !sock.Read( &ev.hdr, sizeof( QueueHeader ), &tv, ShouldExit ) ) goto close;
if( !sock.Read( ((char*)&hdr) + sizeof( QueueHeader ), QueueDataSize[hdr.hdr.idx] - sizeof( QueueHeader ), &tv, ShouldExit ) ) goto close; if( !sock.Read( ((char*)&ev) + sizeof( QueueHeader ), QueueDataSize[ev.hdr.idx] - sizeof( QueueHeader ), &tv, ShouldExit ) ) goto close;
Process( hdr ); Process( ev );
} }
} }