1
0
Fork 0

Fix to ensure shutdown of mmsproxy on signal

This commit is contained in:
bagyenda 2005-10-20 05:26:29 +00:00
parent f101c756a2
commit b4386c0bc3
1 changed files with 4 additions and 2 deletions

View File

@ -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);