On 12/02/02(19:55) you "Wu Jiafu" <firstname.lastname@example.org> wrote
|Thanks a lot for your kindly help. But after applying the patch, it does not
|work so well:
|I added one line to the patched ftp.c, then it seems work:
|Since I am not quite understanding the structure of delegate, there might be
|lots of side-effects of this changing. Would you please have a look?
Thanks for your notice. I tried to minimize the patch before sending
it out, to do over minimization and sent it out without testing X-)
I remember that the patch for ftp.c:FTP_data_relay() was "if ... else"
statement originally. So I'll do like this in the official release.
xc = 0;
Verbose("FTP data-relay(%d,%d): bufsize=%d\n",src,dst,size);
+ if( FS->fs_host )
+ wordScan(FS->fs_host,dataConn->sv.p_host); /* set REAL_HOST */
if( REAL_HOST == 0 )
strcpy(dataConn->sv.p_host,"-"); /* for DST_PROTO */
@ @ Yutaka Sato <email@example.com> http://www.delegate.org/y.sato/
( - ) National Institute of Advanced Industrial Science and Technology (AIST)
_< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller