Commit 8c2766bf authored by Per Cederqvist's avatar Per Cederqvist

(garb_text_file): Don't log the message "Ready."; the caller also logs it.

(main): Add trailing newline in format string to kom_log.
parent 87557255
/*
* $Id: dbck.c,v 0.55 1999/06/23 13:31:40 byers Exp $
* $Id: dbck.c,v 0.56 1999/06/24 12:57:23 ceder Exp $
* Copyright (C) 1991-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -35,7 +35,7 @@
static const char *
rcsid = "$Id: dbck.c,v 0.55 1999/06/23 13:31:40 byers Exp $";
rcsid = "$Id: dbck.c,v 0.56 1999/06/24 12:57:23 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -1424,7 +1424,6 @@ garb_text_file(void)
fflush(stdout);
fflush(stderr);
cache_sync_all();
kom_log("Ready.");
}
......@@ -1602,7 +1601,7 @@ main (int argc,
case 'P':
reset_pwd = atol(optarg);
kom_log("Will reset password of person %ld", (long)reset_pwd);
kom_log("Will reset password of person %ld\n", (long)reset_pwd);
#ifdef ENCRYPT_PASSWORDS
/* Seed the random number generator. */
srand(time(NULL) + getpid());
......@@ -1612,7 +1611,7 @@ main (int argc,
case 'G':
grant_all = atol(optarg);
kom_log("Will grant all bits to person %ld", (long)grant_all);
kom_log("Will grant all bits to person %ld\n", (long)grant_all);
need_rw = 1;
break;
......
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