- From: Sam Couter <sam@topic.com.au>
- Date: Thu, 03 Jun 1999 17:34:53 +1000
- To: www-lib@w3.org
The documentation in the HTProxy.html file states that calling HTNoProxy_add() with a port of zero means "on any port". However, I found the behaviour didn't match that statement. So here's a patch: Index: Library/src/HTProxy.c =================================================================== RCS file: /sources/public/libwww/Library/src/HTProxy.c,v retrieving revision 2.18 diff -u -r2.18 HTProxy.c --- HTProxy.c 1999/02/22 22:10:11 2.18 +++ HTProxy.c 1999/06/03 07:16:39 @@ -422,14 +422,14 @@ #endif if (!pres->access || (pres->access && !strcmp(pres->access, access))) { - if (pres->port == port) { + if ((pres->port == 0) || (pres->port == port)) { char *np = pres->host+strlen(pres->host); char *hp = host+strlen(host); -- Sam Couter sam@topic.com.au Internet Engineer tSA Consulting
Received on Thursday, 3 June 1999 03:35:13 UTC