[Box Backup-commit] COMMIT r1291 - box/chris/general/test/backupstorepatch

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Wed, 14 Feb 2007 23:19:24 +0000


Author: chris
Date: 2007-02-14 23:19:24 +0000 (Wed, 14 Feb 2007)
New Revision: 1291

Modified:
   box/chris/general/test/backupstorepatch/testbackupstorepatch.cpp
Log:
No need to initialise Windows Sockets in the test any more.


Modified: box/chris/general/test/backupstorepatch/testbackupstorepatch.cpp
===================================================================
--- box/chris/general/test/backupstorepatch/testbackupstorepatch.cpp	2007-02-14 23:18:59 UTC (rev 1290)
+++ box/chris/general/test/backupstorepatch/testbackupstorepatch.cpp	2007-02-14 23:19:24 UTC (rev 1291)
@@ -284,14 +284,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);