Author: phater
Date: Mon Jun  5 19:27:50 2017
New Revision: 74927

URL: http://svn.reactos.org/svn/reactos?rev=74927&view=rev
Log:
[WINETESTS] Avoid canceling the test when Samba is not installed and NTLM 
authentication is tested

Modified:
    trunk/rostests/winetests/winhttp/winhttp.c

Modified: trunk/rostests/winetests/winhttp/winhttp.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/winhttp/winhttp.c?rev=74927&r1=74926&r2=74927&view=diff
==============================================================================
--- trunk/rostests/winetests/winhttp/winhttp.c  [iso-8859-1] (original)
+++ trunk/rostests/winetests/winhttp/winhttp.c  [iso-8859-1] Mon Jun  5 
19:27:50 2017
@@ -2188,7 +2188,12 @@
             else
             {
                 send(c, largeauth, sizeof largeauth - 1, 0);
+#ifdef __REACTOS__
+                memset(buffer, 'A', sizeof(buffer));
+                for (i = 0; i < (10240 / sizeof(buffer)); i++) send(c, buffer, 
sizeof(buffer), 0);
+#else
                 for (i = 0; i < 10240; i++) send(c, "A", 1, 0);
+#endif
                 continue;
             }
         }


Reply via email to