Skip to content

Commit 05c6e01

Browse files
committed
Move comment to better place
1 parent a49ae9e commit 05c6e01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/socket.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ void CSocket::OnDataReceived()
383383
return;
384384
}
385385

386+
// convert address of client
386387
if ( UdpSocketAddr.sa.sa_family == AF_INET6 )
387388
{
388389
if ( IN6_IS_ADDR_V4MAPPED ( &( UdpSocketAddr.sa6.sin6_addr ) ) )
@@ -398,7 +399,6 @@ void CSocket::OnDataReceived()
398399
}
399400
else
400401
{
401-
// convert address of client
402402
RecHostAddr.InetAddr.setAddress ( ntohl ( UdpSocketAddr.sa4.sin_addr.s_addr ) );
403403
RecHostAddr.iPort = ntohs ( UdpSocketAddr.sa4.sin_port );
404404
}

0 commit comments

Comments
 (0)