From e48996dcd70a3de324d9ab3551e66e3c3d8c2367 Mon Sep 17 00:00:00 2001 From: "psyc://psyced.org/~lynX" <@> Date: Sat, 27 Aug 2011 10:44:26 +0200 Subject: [PATCH] removed useless inheritance --- world/net/http/server.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/world/net/http/server.c b/world/net/http/server.c index e04ebd2..507848a 100644 --- a/world/net/http/server.c +++ b/world/net/http/server.c @@ -4,7 +4,6 @@ // #include #include -#include #include #include "header.i" @@ -26,6 +25,11 @@ devNull(); qScheme() { return "html"; } +quit() { + D2(D("««« SmallHTTP user done.\n");) + destruct(ME); +} + logon() { D2(D("»»» New SmallHTTP user\n");) @@ -36,7 +40,7 @@ logon() { // using heart_beat() or something like that TODO next_input_to(#'parse_url); - call_out(#'quit, TIME_LOGIN_IDLE); + call_out(#'quit, 23); } disconnected(remainder) { @@ -49,13 +53,6 @@ disconnected(remainder) { // gets called from async apps done() { quit(); } -#if DEBUG > 1 -quit() { - D2(D("««« SmallHTTP user done.\n");) - ::quit(); -} -#endif - void create() { if (clonep(ME)) headers = ([ ]); }