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

(mark_conference_as_changed): Adjusted to the fact that the texts

	member of Conference is now a l2g.
(setup_small_conf): Likewise.
parent 4fefe06b
/*
* $Id: simple-cache.c,v 0.66 1998/07/08 17:07:33 ceder Exp $
* $Id: simple-cache.c,v 0.67 1998/07/26 16:42:45 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -35,7 +35,7 @@
*/
static const char *
rcsid = "$Id: simple-cache.c,v 0.66 1998/07/08 17:07:33 ceder Exp $";
rcsid = "$Id: simple-cache.c,v 0.67 1998/07/26 16:42:45 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -86,6 +86,7 @@ USE(rcsid);
#include "config.h"
#include "admin.h"
#include "unused.h"
#include "local-to-global.h"
/*
* Possible improvements: +++
......@@ -451,7 +452,7 @@ mark_conference_as_changed(Conf_no conf_no)
conf_c = (Conference *) node->ptr;
small_conf_arr[ conf_no ]->highest_local_no
= (conf_c->texts.first_local_no - 1 + conf_c->texts.no_of_texts );
= l2g_first_appendable_key(&conf_c->texts) - 1;
small_conf_arr[ conf_no ]->nice = conf_c->nice;
small_conf_arr[ conf_no ]->type = conf_c->type;
......@@ -2120,8 +2121,7 @@ setup_small_conf(Conf_no conf_no,
s_strcpy(&small_conf_arr[ conf_no ]->name, conf_c->name);
small_conf_arr[ conf_no ]->type = conf_c->type;
small_conf_arr[ conf_no ]->highest_local_no
= (conf_c->texts.first_local_no - 1
+ conf_c->texts.no_of_texts );
= l2g_first_appendable_key(&conf_c->texts) - 1;
small_conf_arr[ conf_no ]->nice = conf_c->nice;
}
......
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