Skip to content

Commit

Permalink
Fix WebSocketClient.getRemoteSocketAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
gramki committed Oct 18, 2013
1 parent 115477e commit d964307
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ public InetSocketAddress getLocalSocketAddress( WebSocket conn ) {
@Override
public InetSocketAddress getRemoteSocketAddress( WebSocket conn ) {
if( socket != null )
return (InetSocketAddress) socket.getLocalSocketAddress();
return (InetSocketAddress) socket.getRemoteSocketAddress();
return null;
}

Expand Down

0 comments on commit d964307

Please sign in to comment.