From 72b86bcf7229f1e8904a87c180944e7be7f42533 Mon Sep 17 00:00:00 2001 From: rburchell Date: Mon, 9 Feb 2009 21:33:51 +0000 Subject: [PATCH] Remove some references to the (removed) waiting variable. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1956 5417fbe8-f217-4b02-8779-1006273d7864 --- src/main.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main.c b/src/main.c index 6e1f6f655..29a6bd132 100644 --- a/src/main.c +++ b/src/main.c @@ -448,17 +448,14 @@ int main(int ac, char **av, char **envp) ModuleManager::RunCallbacks(); - waiting = -1; if (t - last_check >= TimeoutCheck) { check_timeouts(); last_check = t; } - waiting = 1; /* this is a nasty nasty typecast. we need to rewrite the socket stuff -Certus */ i = static_cast(reinterpret_cast(sgets2(inbuf, sizeof(inbuf), servsock))); - waiting = 0; if ((i > 0) || (i < (-1))) { process(); } else if (i == 0) { @@ -478,7 +475,6 @@ int main(int ac, char **av, char **envp) if (!readonly) save_databases(); } - waiting = -4; }