[svn] GpgEX - r27 - trunk/src

svn author marcus cvs at cvs.gnupg.org
Fri Oct 5 17:03:54 CEST 2007


Author: marcus
Date: 2007-10-05 17:03:44 +0200 (Fri, 05 Oct 2007)
New Revision: 27

Modified:
   trunk/src/ChangeLog
   trunk/src/main.cc
Log:
2007-10-05  Marcus Brinkmann  <marcus at g10code.de>

	* main.cc (DllMain): Initialize winsock.


Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog	2007-10-05 14:41:25 UTC (rev 26)
+++ trunk/src/ChangeLog	2007-10-05 15:03:44 UTC (rev 27)
@@ -1,5 +1,7 @@
 2007-10-05  Marcus Brinkmann  <marcus at g10code.de>
 
+	* main.cc (DllMain): Initialize winsock.
+
 	* client.cc (percent_escape): Also escape ':' again.
 	* gpgex.cc (start_help): Do not sleep.
 

Modified: trunk/src/main.cc
===================================================================
--- trunk/src/main.cc	2007-10-05 14:41:25 UTC (rev 26)
+++ trunk/src/main.cc	2007-10-05 15:03:44 UTC (rev 27)
@@ -207,6 +207,12 @@
 
       (void) TRACE0 (DEBUG_INIT, "DllMain", hinst,
 		     "reason=DLL_PROCESS_ATTACH");
+
+      {
+	WSADATA wsadat;
+	
+	WSAStartup (0x202, &wsadat);
+      }
     }
   else if (reason == DLL_PROCESS_DETACH)
     {




More information about the Gnupg-commits mailing list