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

Alexandre Julliard julliard at winehq.org
Thu Mar 9 15:51:33 CST 2017


Module: wine
Branch: master
Commit: 0a3dbf0eb0ab539029d7a43341254098012c3771
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0a3dbf0eb0ab539029d7a43341254098012c3771

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Thu Mar  9 01:06:50 2017 +0100

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

Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/webservices/msg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/webservices/msg.c b/dlls/webservices/msg.c
index 74c3a42..5e425ee 100644
--- a/dlls/webservices/msg.c
+++ b/dlls/webservices/msg.c
@@ -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;




More information about the wine-cvs mailing list