From fcb18d47d0f362459407961fb1ce698694987630 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 27 Oct 2006 19:09:40 +0000 Subject: Remove double initialisation of winsock library. (refs #3) --- test/backupstorepatch/testbackupstorepatch.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/backupstorepatch/testbackupstorepatch.cpp b/test/backupstorepatch/testbackupstorepatch.cpp index 8e2fa5f6..b33e8e73 100644 --- a/test/backupstorepatch/testbackupstorepatch.cpp +++ b/test/backupstorepatch/testbackupstorepatch.cpp @@ -283,14 +283,6 @@ void test_depends_in_dirs() int test(int argc, const char *argv[]) { -#ifdef WIN32 - // Under win32 we must initialise the Winsock library - // before using sockets - - WSADATA info; - TEST_THAT(WSAStartup(0x0101, &info) != SOCKET_ERROR) -#endif - // Allocate a buffer buffer = ::malloc(BUFFER_SIZE); TEST_THAT(buffer != 0); -- cgit v1.2.3