Commit ae0ee524 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Added references to Bugzilla for all FIXME comments.

(logout_client): Log a warning message if active_connection != NULL.
parent 50a0a16e
/*
* $Id: connections.c,v 0.69 2000/09/06 19:54:30 ceder Exp $
* $Id: connections.c,v 0.70 2001/11/03 17:53:23 ceder Exp $
* Copyright (C) 1991-2000 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -36,7 +36,7 @@
#endif
static const char *
rcsid = "$Id: connections.c,v 0.69 2000/09/06 19:54:30 ceder Exp $";
rcsid = "$Id: connections.c,v 0.70 2001/11/03 17:53:23 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -150,7 +150,18 @@ logout_client(Connection *cp)
if ( cp->pers_no != 0 )
{
real_active_connection = active_connection; /* Shouldn't be needed +++ */
int ctr = 0;
if (active_connection != NULL)
{
kom_log("WNG: logout_client(): active_connection != NULL\n");
if (ctr < 100)
ctr++;
else
kom_log("WNG: won't log the above message more\n");
}
real_active_connection = active_connection;
active_connection = cp;
logout();
active_connection = real_active_connection;
......@@ -158,7 +169,7 @@ logout_client(Connection *cp)
else
{
#if 0
/* FIXME: send a new async here instead. This causes the
/* FIXME (bug 93): send a new async here instead. This causes the
elisp client to say that a secret (or unknown) person has
left the system. */
async_logout( 0, cp->session_no );
......@@ -695,7 +706,7 @@ toploop(void)
if (current_time < last_time)
{
kom_log("WARNING: Time is moving in the wrong direction\n");
/* FIXME: Should we take more decisive action here */
/* FIXME (bug 62): Should we take more decisive action here? */
}
timeout = 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