removed useless inheritance

This commit is contained in:
psyc://psyced.org/~lynX 2011-08-27 10:44:26 +02:00
parent cb6e631be9
commit e48996dcd7

View File

@ -4,7 +4,6 @@
// //
#include <ht/http.h> #include <ht/http.h>
#include <net.h> #include <net.h>
#include <server.h>
#include <text.h> #include <text.h>
#include "header.i" #include "header.i"
@ -26,6 +25,11 @@ devNull();
qScheme() { return "html"; } qScheme() { return "html"; }
quit() {
D2(D("««« SmallHTTP user done.\n");)
destruct(ME);
}
logon() { logon() {
D2(D("»»» New SmallHTTP user\n");) D2(D("»»» New SmallHTTP user\n");)
@ -36,7 +40,7 @@ logon() {
// using heart_beat() or something like that TODO // using heart_beat() or something like that TODO
next_input_to(#'parse_url); next_input_to(#'parse_url);
call_out(#'quit, TIME_LOGIN_IDLE); call_out(#'quit, 23);
} }
disconnected(remainder) { disconnected(remainder) {
@ -49,13 +53,6 @@ disconnected(remainder) {
// gets called from async apps // gets called from async apps
done() { quit(); } done() { quit(); }
#if DEBUG > 1
quit() {
D2(D("««« SmallHTTP user done.\n");)
::quit();
}
#endif
void create() { void create() {
if (clonep(ME)) headers = ([ ]); if (clonep(ME)) headers = ([ ]);
} }