projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't place NULL pointers in the GDK window array in GTKGetWindow()
[wxWidgets.git]
/
interface
/
wx
/
protocol
/
ftp.h
diff --git
a/interface/wx/protocol/ftp.h
b/interface/wx/protocol/ftp.h
index 7163db5124c8e22e0a0541d704f15eed9c0739dd..12bbca605f099d4189504b33d3a4c7548a1b2682 100644
(file)
--- a/
interface/wx/protocol/ftp.h
+++ b/
interface/wx/protocol/ftp.h
@@
-46,19
+46,19
@@
enum TransferMode
return;
}
return;
}
- ftp.ChDir("/pub/2.8.9);
+ ftp.ChDir("/pub/2.8.9
"
);
wxInputStream *i = ftp.GetInputStream("wxWidgets-2.8.9.tar.bz2");
if ( !in )
{
wxInputStream *i = ftp.GetInputStream("wxWidgets-2.8.9.tar.bz2");
if ( !in )
{
- wxLogError("Cou
dln't get
file");
+ wxLogError("Cou
ldn't get the
file");
}
else
{
}
else
{
- size_t size = in-GetSize();
+ size_t size = in-
>
GetSize();
char *data = new char[size];
if ( !in->Read(data, size) )
{
char *data = new char[size];
if ( !in->Read(data, size) )
{
- wxLogError("Read error
"
);
+ wxLogError("Read error
: %d", ftp.GetError()
);
}
else
{
}
else
{