- bugfix for sockets on windows

This commit is contained in:
Mark Vejvoda
2011-11-23 08:11:30 +00:00
parent 3cdf50c399
commit 5aa34ebd08

View File

@@ -173,7 +173,7 @@ Mutex UPNP_Tools::mutexUPNP;
return rhs1.nID < rhs2.nID; return rhs1.nID < rhs2.nID;
} }
const int kNumMessages = sizeof(gaErrorList) / sizeof(ErrorEntry[0]); const int kNumMessages = sizeof(gaErrorList) / sizeof(ErrorEntry);
//// WSAGetLastErrorMessage //////////////////////////////////////////// //// WSAGetLastErrorMessage ////////////////////////////////////////////
// A function similar in spirit to Unix's perror() that tacks a canned // A function similar in spirit to Unix's perror() that tacks a canned