Commit 32a8c943 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(logout_client): Don't check the magic field.

parent d5f8914d
/*
* $Id: connections.c,v 0.91 2003/01/10 01:07:56 ceder Exp $
* $Id: connections.c,v 0.92 2003/03/15 22:30:10 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -131,19 +131,6 @@ logout_client(Connection *cp)
cp->session_no, active_connection->session_no);
}
switch (cp->magic)
{
case CONN_MAGIC_ALLOC:
break;
case CONN_MAGIC_FREE:
kom_log("LOGOUT_CLIENT: Trying to free freed Connection - ignored!\n");
return;
default:
restart_kom("LOGOUT_CLIENT: Bad magic number\n");
}
if ( cp->pers_no != 0 )
{
int ctr = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment