1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 04:43:13 +02:00

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
This commit is contained in:
rburchell
2009-02-09 21:33:51 +00:00
parent eec4e00b16
commit 72b86bcf72
-4
View File
@@ -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<int>(reinterpret_cast<long>(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;
}