mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 21:16:13 +01:00
Improved internal macros
This commit is contained in:
1 parent
0c5afa3483
commit
c40961bac3
18 files changed
+275
-190
No files matched your search
@@ -71,7 +71,7 @@ unsigned short sfTcpSocket_GetLocalPort(const sfTcpSocket* socket)
|
||||
////////////////////////////////////////////////////////////
|
||||
sfIpAddress sfTcpSocket_GetRemoteAddress(const sfTcpSocket* socket)
|
||||
{
|
||||
sfIpAddress result;
|
||||
sfIpAddress result = sfIpAddress_None();
|
||||
CSFML_CHECK_RETURN(socket, result);
|
||||
|
||||
sf::IpAddress address = socket->This.GetRemoteAddress();
|
||||
|
||||
Reference in new issue
Block a user