summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2006-10-27 19:09:40 +0000
committerChris Wilson <chris+github@qwirx.com>2006-10-27 19:09:40 +0000
commitfcb18d47d0f362459407961fb1ce698694987630 (patch)
tree00bbf0a1eb3bcc2b46e9e2ece93abccb01cddee4
parentdee6b0ac8cf237670d63fce5f95a95effcbe6ffa (diff)
Remove double initialisation of winsock library. (refs #3)
-rw-r--r--test/backupstorepatch/testbackupstorepatch.cpp8
1 files changed, 0 insertions, 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);