From cef74e263f49833441acda00ced069833f261f4c Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Fri, 2 Nov 2007 11:42:52 +0000 Subject: [PATCH] inetcomm: Use InternetTransport_ChangeStatus in InternetTransport_DropConnection so that the callback gets called. --- dlls/inetcomm/internettransport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/inetcomm/internettransport.c b/dlls/inetcomm/internettransport.c index 71a84916748..a056201fc15 100644 --- a/dlls/inetcomm/internettransport.c +++ b/dlls/inetcomm/internettransport.c @@ -171,13 +171,13 @@ HRESULT InternetTransport_DropConnection(InternetTransport *This) ret = shutdown(This->Socket, SD_BOTH); - This->Status = IXP_DISCONNECTED; - ret = closesocket(This->Socket); DestroyWindow(This->hwnd); This->hwnd = NULL; + InternetTransport_ChangeStatus(This, IXP_DISCONNECTED); + return S_OK; } -- 2.11.4.GIT