Commit 84ad2508 authored by Per Cederqvist's avatar Per Cederqvist

(cached_no_of_existing_conferences): Added a comment explaining why

	this should eventually be fixed to d return a proper value.
parent 80233b0c
/*
* $Id: simple-cache.c,v 0.81 1999/06/03 22:11:13 ceder Exp $
* $Id: simple-cache.c,v 0.82 1999/07/01 18:20:39 ceder Exp $
* Copyright (C) 1991-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -40,7 +40,7 @@
#endif
static const char *
rcsid = "$Id: simple-cache.c,v 0.81 1999/06/03 22:11:13 ceder Exp $";
rcsid = "$Id: simple-cache.c,v 0.82 1999/07/01 18:20:39 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -403,6 +403,10 @@ extern Conf_no
cached_no_of_existing_conferences(void)
{
return next_free_num; /* This is too large, but who cares? */
/* Actually, this is used in lookup_regexp (and maybe other
places) to allocate an array this large, and that is pretty
stupid if many conferences have been deleted. But it is no big
deal. Not yet, anyhow... */
}
/*
......
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