- commented console output for FTP progress

This commit is contained in:
Mark Vejvoda
2011-01-16 03:44:55 +00:00
parent b54faa93f9
commit 1cc5f8c70e
5 changed files with 27 additions and 2 deletions

View File

@@ -480,4 +480,13 @@ int ftpSelect(int poll)
}
}
int getLastSocketError() {
return WSAGetLastError();
}
const char * getLastSocketErrorText(int *errNumber) {
int errId = (errNumber != NULL ? *errNumber : getLastSocketError());
return WSAGetLastErrorMessage("",errId);
}
#endif