- bugfixes related to cppcheck report

- bugfixes found using valgrind (memory leaks)
This commit is contained in:
Mark Vejvoda
2011-12-02 16:07:59 +00:00
parent 4885f3f3a6
commit d33e1174a5
59 changed files with 772 additions and 272 deletions

View File

@@ -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