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

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