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

(init_dynamic_session_info): Initialize flags.

parent 62790fb1
/*
* $Id: memory.c,v 0.17 1996/08/02 00:03:33 ceder Exp $
* $Id: memory.c,v 0.18 1996/08/02 19:59:34 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -28,7 +28,7 @@
* These functions should be used instead of smalloc/srealloc.
*/
static char *rcsid = "$Id: memory.c,v 0.17 1996/08/02 00:03:33 ceder Exp $";
static char *rcsid = "$Id: memory.c,v 0.18 1996/08/02 19:59:34 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -153,7 +153,14 @@ init_dynamic_session_info (Dynamic_session_info *d)
d->person = 0;
d->working_conference = 0;
d->idle_time = 0;
d->invisible = 0;
d->flags.invisible = FALSE;
d->flags.user_active_used = FALSE;
d->flags.user_absent = FALSE;
d->flags.reserved3 = FALSE;
d->flags.reserved4 = FALSE;
d->flags.reserved5 = FALSE;
d->flags.reserved6 = FALSE;
d->flags.reserved7 = FALSE;
d->what_am_i_doing = EMPTY_STRING;
}
......
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