(forced commit: previous commit message was truncated)

Fix two bugs:

- The ftpPassive() function seemed to think that the PASV command
  is a toggle. This is not true (however, the ftp(1) "pass" command
  is indeed a toggle). So no need to emit a "PASV" command each time
  this function is called; that's handled by ftp_file_op().

- check_passive() is supposed to check if FTP_PASSIVE_MODE is defined,
  and if so, override ftpPassive(). However, it was overriding
  ftpPassive() even if FTP_PASSIVE_MODE was not defined, rendering
  calls to the ftpPassive() function completely ineffectual.

Also, clarify the relationship between ftpPassive() and the
FTP_PASSIVE_MODE environment variable in the man page.
This commit is contained in:
Archie Cobbs 2000-08-17 23:51:47 +00:00
parent c387a49c7c
commit a366213452

Diff Content Not Available