mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 02:43:57 +02:00
- commented console output for FTP progress
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user