diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-09 21:33:51 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-09 21:33:51 +0000 |
commit | 72b86bcf7229f1e8904a87c180944e7be7f42533 (patch) | |
tree | 05c0e3d08cce0fc8f68e3e933bc690fbeddbb8cc /src | |
parent | eec4e00b16d9d4e9c62dde94a072b160f9927002 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 0 insertions, 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<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; } |