Commit 087631bb authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

webservices: Restore the current pointer after reading ahead in read_move_to.

parent f2b39978
......@@ -2999,8 +2999,10 @@ static HRESULT read_move_to( struct reader *reader, WS_MOVE_TO move, BOOL *found
if (!read_end_of_data( reader ))
{
struct node *saved_current = reader->current;
while (reader->state != READER_STATE_EOF && (hr = read_node( reader )) == S_OK) { /* nothing */ };
if (hr != S_OK) return hr;
reader->current = saved_current;
}
switch (move)
{
......
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