X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fbfb8bcc3fa17e079d4219655b173f8ed2ccc65a..36b6a928760233e41f94da942a341ee3e787bcd4:/include/wx/protocol/ftp.h diff --git a/include/wx/protocol/ftp.h b/include/wx/protocol/ftp.h index 03a1a6ba69..21312e87fd 100644 --- a/include/wx/protocol/ftp.h +++ b/include/wx/protocol/ftp.h @@ -38,7 +38,7 @@ public: void SetUser(const wxString& user) { m_user = user; } void SetPassword(const wxString& passwd) { m_passwd = passwd; } - bool Connect(wxSockAddress& addr, bool wait = true); + bool Connect(const wxSockAddress& addr, bool wait = true); bool Connect(const wxString& host); // disconnect @@ -47,7 +47,7 @@ public: // Parameters set up // set transfer mode now - void SetPassive(bool pasv) { m_bPassive = pasv; }; + void SetPassive(bool pasv) { m_bPassive = pasv; } void SetDefaultTimeout(wxUint32 Value); bool SetBinary() { return SetTransferMode(BINARY); } bool SetAscii() { return SetTransferMode(ASCII); }