]> Savannah Git Hosting - gnulib.git/commit
sockets: MS Windows initalization fixes
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 25 Sep 2015 18:16:27 +0000 (11:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 25 Sep 2015 18:16:49 +0000 (11:16 -0700)
commitf28235237df7ab45ff4a17e21891faa8f4ea8dcf
tree7e7fb6114bdeb681d8b64f001e65cee622cc5090
parent11792d29f9721da2568ab78436edb2032aa1146e
sockets: MS Windows initalization fixes

Problem reported by Test User in:
http://lists.gnu.org/archive/html/help-shishi/2015-09/msg00001.html
* lib/sockets.h (SOCKETS_1_0, SOCKETS_2_0, SOCKETS_2_1):
Correct the endianness.
* lib/sockets.c (gl_sockets_startup): Return 2 on any version
number mismatch, not just on <.  Cleanup before any such failure.
ChangeLog
lib/sockets.c
lib/sockets.h