Author: tfaber
Date: Wed Jul 4 20:05:43 2012
New Revision: 56828
URL:
http://svn.reactos.org/svn/reactos?rev=56828&view=rev
Log:
[WS2_32_APITEST]
- Gracefully handle uninitialized data in WSAStartup test
Modified:
trunk/rostests/apitests/ws2_32/WSAStartup.c
Modified: trunk/rostests/apitests/ws2_32/WSAStartup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/ws2_32/WSAStartu…
==============================================================================
--- trunk/rostests/apitests/ws2_32/WSAStartup.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/ws2_32/WSAStartup.c [iso-8859-1] Wed Jul 4 20:05:43 2012
@@ -78,7 +78,7 @@
EqualLength = RtlCompareMemory(Buffer, Expected, Length);
if (EqualLength != Length)
{
- ok(0, "String is '%s', expected '%s'\n", Buffer,
Expected);
+ ok(0, "String is '%.*s', expected '%s'\n",
(int)MaximumLength, Buffer, Expected);
Result = FALSE;
}