Good morning,afternoon,evening.


I found next bug. When I called function HTLoadToFile() with 'ftp://' core
dump occured. Problem is in returned value of function HTHost_connect().
In original it is NO (=0) and it is same as HT_OK (=0).

						Marek Nagy.


*** HTHost.c	Wed May  6 09:48:13 1998
--- HTHost.c.orig	Wed May  6 09:46:45 1998
***************
*** 1163,1169 ****
      if (!host) {
  	HTProtocol * protocol = HTNet_protocol(net);
  	if ((host = HTHost_newWParse(request, url, HTProtocol_id(protocol))) == NULL)
! 	    return HT_ERROR;
  	if (!host->channel) {
  	    host->forceWriteFlush = YES;
  	    host->lock = net;
--- 1163,1169 ----
      if (!host) {
  	HTProtocol * protocol = HTNet_protocol(net);
  	if ((host = HTHost_newWParse(request, url, HTProtocol_id(protocol))) == NULL)
! 	    return NO;
  	if (!host->channel) {
  	    host->forceWriteFlush = YES;
  	    host->lock = net;




***************************************************
* Euromath Support Center                         * 
* Department of Computer Science                  *
* Faculty of Mathematics and Physics              *
* Comenius University                             *
* Mlynska dolina                                  *
* 842 15 Bratislava                               *
* Slovak Republic                                 *
*                                                 *
* Tel: +421-7-654 26 635  Fax: +421-7-654 27 041  *
* e-mail: emt@fmph.uniba.sk                       *
* http://www.dcs.fmph.uniba.sk/~emt               *
**************************************************
