diff options
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; |