diff options
author | fcolin | 2010-11-30 17:39:22 +0000 |
---|---|---|
committer | fcolin | 2010-11-30 17:39:22 +0000 |
commit | 4d2f14d5e0ef1477b64f5214af535b6dd358c3b8 (patch) | |
tree | 560795b34b8c981544d481d45005cc9cefc70917 /src/ivy.c | |
parent | a7117dc569920436cf08d4954fe02b6ccd560c74 (diff) | |
download | ivy-c-4d2f14d5e0ef1477b64f5214af535b6dd358c3b8.zip ivy-c-4d2f14d5e0ef1477b64f5214af535b6dd358c3b8.tar.gz ivy-c-4d2f14d5e0ef1477b64f5214af535b6dd358c3b8.tar.bz2 ivy-c-4d2f14d5e0ef1477b64f5214af535b6dd358c3b8.tar.xz |
remove reverse DNS resolution in CheckConnected
Diffstat (limited to 'src/ivy.c')
-rw-r--r-- | src/ivy.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -482,10 +482,9 @@ static RWIvyClientPtr CheckConnected( Client sclnt ) RWIvyClientPtr iclient; struct sockaddr_storage* addr1; struct sockaddr_storage* addr2; - char *remotehost; unsigned short remoteport; - SocketGetRemoteHost( sclnt, &remotehost, &remoteport ); + remoteport = SocketGetRemotePort( sclnt ); if ( remoteport == 0 ) /* Old Ivy Protocol Dont check */ return 0; |