From 0b37e288bf1478f9e8f4872dbf3a2390680e583c Mon Sep 17 00:00:00 2001 From: Heiko Hund Date: Wed, 9 May 2012 11:08:18 +0200 Subject: [PATCH] fix GUI status if mgmt itf can't be reached --- manage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manage.c b/manage.c index 8ca3c61..17072cf 100644 --- a/manage.c +++ b/manage.c @@ -203,7 +203,7 @@ OnManagement(SOCKET sk, LPARAM lParam) if (time(NULL) < c->manage.timeout) connect(c->manage.sk, (SOCKADDR *)&c->manage.skaddr, sizeof(c->manage.skaddr)); else - SendMessage(c->hwndStatus, WM_CLOSE, 0, 0); + rtmsg_handler[stop](c, ""); } break;