summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
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;
}