[Box Backup-commit] COMMIT r1114 - box/chris/merge/test/backupstorepatch
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Fri, 27 Oct 2006 20:09:40 +0100
Author: chris
Date: 2006-10-27 20:09:40 +0100 (Fri, 27 Oct 2006)
New Revision: 1114
Modified:
box/chris/merge/test/backupstorepatch/testbackupstorepatch.cpp
Log:
Remove double initialisation of winsock library. (refs #3)
Modified: box/chris/merge/test/backupstorepatch/testbackupstorepatch.cpp
===================================================================
--- box/chris/merge/test/backupstorepatch/testbackupstorepatch.cpp 2006-10-27 19:08:07 UTC (rev 1113)
+++ box/chris/merge/test/backupstorepatch/testbackupstorepatch.cpp 2006-10-27 19:09:40 UTC (rev 1114)
@@ -283,14 +283,6 @@
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);