Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ok2c committed Apr 14, 2010
1 parent 82d6013 commit a2d5080
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public void openConnection(OperatedClientConnection conn,
InetAddress[] addresses = InetAddress.getAllByName(target.getHostName());
for (int i = 0; i < addresses.length; i++) {
InetAddress address = addresses[i];
boolean last = i == addresses.length;
boolean last = i == addresses.length - 1;
Socket sock = sf.createSocket();
conn.opening(sock, target);
try {
Expand Down

0 comments on commit a2d5080

Please sign in to comment.