Merge branch '0.4.x' into 0.5.x

Conflicts:
	doc/release-process.txt
	src/serialize.h
This commit is contained in:
Luke Dashjr
2012-06-14 18:07:11 +00:00
7 changed files with 9 additions and 5 deletions

View File

@@ -914,7 +914,7 @@ void ThreadSocketHandler2(void* parg)
if (nSelect == SOCKET_ERROR)
{
int nErr = WSAGetLastError();
if (hSocketMax > -1)
if (hSocketMax != INVALID_SOCKET)
{
printf("socket select error %d\n", nErr);
for (unsigned int i = 0; i <= hSocketMax; i++)