Commit d879fdd4 authored by Per Cederqvist's avatar Per Cederqvist

(mark_as_read): Add trailing newline in format string to kom_log.

(set_membership_type): Likewise.
parent 8c2766bf
/*
* $Id: membership.c,v 0.48 1999/06/05 12:19:05 byers Exp $
* $Id: membership.c,v 0.49 1999/06/24 12:58:01 ceder Exp $
* Copyright (C) 1991-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -38,7 +38,7 @@
#define DEBUG_MARK_AS_READ
static const char *
rcsid = "$Id: membership.c,v 0.48 1999/06/05 12:19:05 byers Exp $";
rcsid = "$Id: membership.c,v 0.49 1999/06/24 12:58:01 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -1168,8 +1168,9 @@ mark_as_read (Conf_no conference,
#ifdef DEBUG_MARK_AS_READ
if ( m->read_texts == NULL && m->no_of_read != 0 )
{
kom_log("mark_as_read(): m->read_texts == NULL && m->no_of_read == %lu (corrected).",
(unsigned long)m->no_of_read);
kom_log("mark_as_read(): m->read_texts == NULL && "
"m->no_of_read == %lu (corrected).\n",
(unsigned long)m->no_of_read);
m->no_of_read = 0;
}
......@@ -1694,9 +1695,10 @@ extern Success set_membership_type(Pers_no pers_no,
FIXME: membership record.
*/
kom_log("Membership and member record mismatch for pers %lu in conf %lu",
(unsigned long)pers_no, (unsigned long)conf_no);
kom_log("You should run dbck");
kom_log("Membership and member record mismatch for pers %lu"
" in conf %lu\n",
(unsigned long)pers_no, (unsigned long)conf_no);
kom_log("You should run dbck\n");
err_stat = conf_no;
kom_errno = KOM_NOT_MEMBER;
return FAILURE;
......
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