[WININET]
authorThomas Faber <thomas.faber@reactos.org>
Thu, 23 Apr 2015 10:57:11 +0000 (10:57 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Thu, 23 Apr 2015 10:57:11 +0000 (10:57 +0000)
- Add back our Winsock initialization ROS-diff. Wine has only partially fixed this at this point.
CORE-9588

svn path=/trunk/; revision=67365

reactos/dll/win32/wininet/internet.c

index f60d29a..c5a9836 100644 (file)
@@ -996,6 +996,9 @@ HINTERNET WINAPI InternetOpenW(LPCWSTR lpszAgent, DWORD dwAccessType,
 {
     appinfo_t *lpwai = NULL;
 
 {
     appinfo_t *lpwai = NULL;
 
+#ifdef __REACTOS__
+    init_winsock();
+#endif
     if (TRACE_ON(wininet)) {
 #define FE(x) { x, #x }
        static const wininet_flag_info access_type[] = {
     if (TRACE_ON(wininet)) {
 #define FE(x) { x, #x }
        static const wininet_flag_info access_type[] = {