Commit 0567952c authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

webservices: Fix return value in read_type_text.

parent de139491
......@@ -6216,7 +6216,7 @@ static HRESULT read_type_text( struct reader *reader, const WS_FIELD_DESCRIPTION
if (reader->current == reader->last)
{
BOOL found;
if ((hr = read_to_startelement( reader, &found )) != S_OK) return S_OK;
if ((hr = read_to_startelement( reader, &found )) != S_OK) return hr;
if (!found) return WS_E_INVALID_FORMAT;
}
if ((hr = read_next_node( reader )) != S_OK) return hr;
......
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