From b4386c0bc3df23c198f8f35ac816a783f526428d Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Thu, 20 Oct 2005 05:26:29 +0000 Subject: [PATCH] Fix to ensure shutdown of mmsproxy on signal --- mbuni/mmsc/mmsproxy.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mbuni/mmsc/mmsproxy.c b/mbuni/mmsc/mmsproxy.c index 562a325..6cdf339 100644 --- a/mbuni/mmsc/mmsproxy.c +++ b/mbuni/mmsc/mmsproxy.c @@ -45,8 +45,10 @@ static int rstop = 0; static void quit_now(int notused) { rstop = 1; - if (settings) - http_close_port(settings->port); + if (settings) { + http_close_port(settings->port); + http_close_port(settings->mm7port); + } } static void free_clientInfo(MmsHTTPClientInfo *h, int freeh);