mirror of
https://github.com/reactos/wine.git
synced 2025-01-07 11:51:28 +00:00
webservices: Reset the attribute index in read_element.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
46393a3f86
commit
6449cb3b67
@ -962,6 +962,7 @@ static HRESULT read_element( struct reader *reader )
|
||||
hr = E_OUTOFMEMORY;
|
||||
if (!(elem->ns = alloc_xml_string( NULL, 0 ))) goto error;
|
||||
|
||||
reader->current_attr = 0;
|
||||
for (;;)
|
||||
{
|
||||
read_skip_whitespace( reader );
|
||||
@ -972,6 +973,7 @@ static HRESULT read_element( struct reader *reader )
|
||||
free_attribute( attr );
|
||||
goto error;
|
||||
}
|
||||
reader->current_attr++;
|
||||
}
|
||||
|
||||
read_skip_whitespace( reader );
|
||||
|
Loading…
Reference in New Issue
Block a user