Re: Infinite Loop...

Maciej Puzio writes:

> In the line (1) a new "ftp:" anchor is created. The problem is that this anchor isn't 
> assigned to the request. This causes infinite recursion, because HTLoad is called
> with the unmodified request (see line (3)) and this call finally lands in HTLoadFile 
again.
> 
> To correct this I added the following line after a line (2):
> 
>                 HTRequest_setAnchor(request, anchor);

Oups - sorry about that. This is what you get when you're trying to be too 
smart :-(


-- 

Henrik Frystyk Nielsen, <frystyk@w3.org>
World-Wide Web Consortium, MIT/LCS NE43-356
545 Technology Square, Cambridge MA 02139, USA

Received on Wednesday, 7 February 1996 11:38:17 UTC