From 84897246abfb4fa2bbf4e59e7d5900cbd4f6224b Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sat, 9 Feb 2002 12:46:31 +0000 Subject: [PATCH] The do_inet semafore was removed too early --- mbtask/mbtask.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mbtask/mbtask.c b/mbtask/mbtask.c index a209ad43..9b50a06f 100644 --- a/mbtask/mbtask.c +++ b/mbtask/mbtask.c @@ -537,14 +537,14 @@ int check_calllist(void) /* * Check if we need to remove the do_inet semafore */ - if (!inet_calls && s_do_inet) { + if (!inet_calls && internet && s_do_inet) { tasklog('c', "Removing do_inet semafore"); s_do_inet = FALSE; if (IsSema((char *)"do_inet")) { RemoveSema((char *)"do_inet"); } } - + call_work = 0; for (i = 0; i < MAXTASKS; i++) { if (calllist[i].addr.zone) {