X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/730b772b41ad9df76e5226290bb9eb917ea161f0..5b88a837ba75928cd3835a6b97ae2bf5ad983a6e:/interface/wx/protocol/ftp.h diff --git a/interface/wx/protocol/ftp.h b/interface/wx/protocol/ftp.h index 7163db5124..12bbca605f 100644 --- a/interface/wx/protocol/ftp.h +++ b/interface/wx/protocol/ftp.h @@ -46,19 +46,19 @@ enum TransferMode 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 ) { - wxLogError("Coudln't get file"); + wxLogError("Couldn't get the file"); } else { - size_t size = in-GetSize(); + size_t size = in->GetSize(); char *data = new char[size]; if ( !in->Read(data, size) ) { - wxLogError("Read error"); + wxLogError("Read error: %d", ftp.GetError()); } else {