mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Add missing htons() call.
This commit is contained in:
parent
4791b63ef8
commit
0d82d6fe63
@ -33,7 +33,7 @@ void ResolvService::Worker()
|
||||
{
|
||||
struct sockaddr_in addr = {};
|
||||
addr.sin_family = AF_INET;
|
||||
addr.sin_port = m_port;
|
||||
addr.sin_port = htons( m_port );
|
||||
|
||||
char buf[128];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user