projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix checking for GTK+ 3.0 in configure.
[wxWidgets.git]
/
src
/
common
/
ftp.cpp
diff --git
a/src/common/ftp.cpp
b/src/common/ftp.cpp
index d1bc22eeecba79845ea3b8f5dc79ae92039b1427..dfda3b0c8c5c619c571ced000a264fae41920d28 100644
(file)
--- a/
src/common/ftp.cpp
+++ b/
src/common/ftp.cpp
@@
-48,9
+48,7
@@
#include "wx/protocol/protocol.h"
#include "wx/protocol/ftp.h"
#include "wx/protocol/protocol.h"
#include "wx/protocol/ftp.h"
-#ifndef __MWERKS__
- #include <memory.h>
-#endif
+#include <memory.h>
// ----------------------------------------------------------------------------
// constants
// ----------------------------------------------------------------------------
// constants
@@
-686,7
+684,7
@@
public:
// when checking the result, the stream will
// almost always show an error, even if the file was
// when checking the result, the stream will
// almost always show an error, even if the file was
- // properly transfered, thus, let's just grab the result
+ // properly transfer
r
ed, thus, let's just grab the result
// we are looking for "226 transfer completed"
char code = m_ftp->GetResult();
// we are looking for "226 transfer completed"
char code = m_ftp->GetResult();
@@
-902,7
+900,7
@@
int wxFTP::GetFileSize(const wxString& fileName)
int filesize = -1;
int filesize = -1;
- // Check for exist
a
nce of file via wxFTP::FileExists(...)
+ // Check for exist
e
nce of file via wxFTP::FileExists(...)
if ( FileExists(fileName) )
{
wxString command;
if ( FileExists(fileName) )
{
wxString command;
@@
-939,7
+937,7
@@
int wxFTP::GetFileSize(const wxString& fileName)
}
// Set transfermode back to the original. Only the "SIZE"-command
}
// Set transfermode back to the original. Only the "SIZE"-command
- // is depend
a
nt on transfermode
+ // is depend
e
nt on transfermode
if ( oldTransfermode != NONE )
{
SetTransferMode(oldTransfermode);
if ( oldTransfermode != NONE )
{
SetTransferMode(oldTransfermode);