webservices: Don't set is_addressed when an error occurred.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sebastian Lackner 2017-03-09 01:06:50 +01:00 committed by Alexandre Julliard
parent 3c6c6a3cae
commit 0a3dbf0eb0
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ HRESULT WINAPI WsAddressMessage( WS_MESSAGE *handle, const WS_ENDPOINT_ADDRESS *
}
}
msg->is_addressed = TRUE;
if (hr == S_OK) msg->is_addressed = TRUE;
LeaveCriticalSection( &msg->cs );
return hr;