Commit be680066 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

webservices/tests: Fully initialize xmlstr.

parent 9c238a5d
......@@ -4048,6 +4048,7 @@ static void test_WsResetError(void)
WsFreeError( error );
memset( &fault, 0, sizeof(fault) );
memset( &xmlstr, 0, sizeof(xmlstr) );
xmlstr.bytes = (BYTE *)"str";
xmlstr.length = 3;
......@@ -4056,7 +4057,7 @@ static void test_WsResetError(void)
hr = WsSetFaultErrorProperty( error, WS_FAULT_ERROR_PROPERTY_FAULT, &fault, sizeof(fault) );
ok( hr == S_OK, "got %#lx\n", hr );
hr = WsSetFaultErrorProperty( error, WS_FAULT_ERROR_PROPERTY_ACTION, &xmlstr, sizeof(WS_XML_STRING) );
hr = WsSetFaultErrorProperty( error, WS_FAULT_ERROR_PROPERTY_ACTION, &xmlstr, sizeof(xmlstr) );
ok( hr == S_OK, "got %#lx\n", hr );
hr = WsResetError( error );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment