Don't call _ftp_closefn() upon EOF in _ftp_readfn(); just return 0.  This fixes a bug in pkg_add(1) (which nobody noticed because of another bug).
Don't call _ftp_closefn() upon EOF in _ftp_readfn(); just return 0.  This
fixes a bug in pkg_add(1) (which nobody noticed because of another bug).

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase