diff --git a/include/ftplib.h b/include/ftplib.h index 7e18f5f..2ca55a6 100644 --- a/include/ftplib.h +++ b/include/ftplib.h @@ -23,8 +23,9 @@ #if !defined(__FTPLIB_H) #define __FTPLIB_H +#ifndef _FTPLIB_NO_COMPAT #define _FTPLIB_NO_COMPAT - +#endif #if defined(__unix__) || defined(VMS) diff --git a/src/mgr/ftplibftpt.cpp b/src/mgr/ftplibftpt.cpp index ae2aa6a..dd8a2d8 100644 --- a/src/mgr/ftplibftpt.cpp +++ b/src/mgr/ftplibftpt.cpp @@ -76,7 +76,7 @@ FTPLibFTPTransport_init::~FTPLibFTPTransport_init() { } -FTPLibFTPTransport::FTPLibFTPTransport(const char *host, StatusReporter *sr) : FTPTransport(host, sr) { +FTPLibFTPTransport::FTPLibFTPTransport(const char *host, StatusReporter *sr) : RemoteTransport(host, sr) { ftpConnection = 0; }