Brad Nicholes Senior Software Engineer Novell, Inc., the leading provider of Net business solutions http://www.novell.com
>>> Jim Jagielski <[EMAIL PROTECTED]> Wednesday, November 12, 2003 12:13:10 PM >>> >Could we try this... This does change, slightly, On >under 1.3 to be aware of the connection port number >and to use that in preference over the default >port. +1 >Also, this exposes a bug, I think, in 2.0/2.1. >parsed_uri.port is valid iff parsed_uri.port_str != NULL. >Currently, we are testing just to see if parsed_uri.port >itself isn't 0. What you are saying then is that without testing parsed_uri.port_str, there is no way of knowing if port 0 could actually be a valid port or if parsed_uri.port contains garbage that just happens to look like a port. The former depends on whether port 0 can actually be a valid port and the latter depends on how the parsed_uri structure is initialized. Brad
