mirror of
https://github.com/glest/glest-source.git
synced 2025-08-16 13:23:59 +02:00
- bugfixes related to cppcheck report
- bugfixes found using valgrind (memory leaks)
This commit is contained in:
@@ -548,8 +548,8 @@ int getLastSocketError() {
|
||||
|
||||
const char * getLastSocketErrorText(int *errNumber) {
|
||||
int errId = (errNumber != NULL ? *errNumber : getLastSocketError());
|
||||
//return WSAGetLastErrorMessage("",errId);
|
||||
return "?";
|
||||
return WSAGetLastErrorMessage("",errId);
|
||||
//return "?";
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user