W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 2000

Typo error in code still exist in 2.0.4?

From: Sanath Jayasena <sanath@math.edu>
Date: Tue, 7 Mar 2000 21:02:50 -0600 (CST)
To: www-jigsaw@w3.org
Message-ID: <Pine.LNX.3.96.1000307204548.4402A-100000@math.edu>
Sometime ago it was pointed out that the following was a typo,
in 2.0.3 source ../jigsaw/http/socket/SocketClientFactory.java:

public ServerSocket createServerSocket() 	throws IOException    
{	// using maxCLient in the backlog is safe, but an overkill :)	
  if (bindAddr != null) {
     return new ServerSocket (server.getPort(), maxClients);	} 
  else {
     return new ServerSocket (server.getPort(),Math.max(128, maxClients),
				     bindAddr);	}    
}

And it was then told the typo is corrected to:
  if (bindAddr == null)

THE TYPO IS STILL THERE in 2.0.4 ! I downloaded it a few minutes ago.

Regards.

Sanath
Received on Tuesday, 7 March 2000 21:02:32 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:07 UTC