polarssl/polarssl — pull request #102 by petervas (2014-05-15 01:34:33+00:00)
Title: Fix WSAStartup return value check.

SOCKET_ERROR was not a valid return value.
WSAStartup returns 0 on success, so check that instead.
(for details check http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213 )