]> git.proxmox.com Git - libgit2.git/commit
Initialise the winsock DLL
authorCarlos Martín Nieto <carlos@cmartin.tk>
Fri, 30 Sep 2011 15:21:30 +0000 (17:21 +0200)
committerCarlos Martín Nieto <carlos@cmartin.tk>
Fri, 30 Sep 2011 22:41:08 +0000 (00:41 +0200)
commitccc9872d4df7ca6cd44f777c0600c4b1fab0f9e6
tree9deaa2ef455a51142bc2f0e831c8e718932cdcd6
parenta95aeb489f32fa7e570ecad12fc236f0a0e237a3
Initialise the winsock DLL

Windows wants us to initialise the networking DLL before we're allowed
to send data through a socket. Call WSASetup and WSACleanup if
GIT_WIN32 is defined.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
src/netops.c
src/netops.h
src/transport-http.c
src/transport_git.c