Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
4825f0a9
Commit
4825f0a9
authored
May 16, 1999
by
Per Cederqvist
Browse files
(main): Initialize current_time.
parent
c6c7f24a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/ramkomd.c
View file @
4825f0a9
/*
* $Id: ramkomd.c,v 0.8
3
1999/05/1
5
2
2:55:26
ceder Exp $
* $Id: ramkomd.c,v 0.8
4
1999/05/1
6
2
1:46:31
ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -44,7 +44,7 @@
#endif
static
const
char
*
rcsid
=
"$Id: ramkomd.c,v 0.8
3
1999/05/1
5
2
2:55:26
ceder Exp $"
;
rcsid
=
"$Id: ramkomd.c,v 0.8
4
1999/05/1
6
2
1:46:31
ceder Exp $"
;
#include "rcs.h"
USE
(
rcsid
);
...
...
@@ -107,6 +107,7 @@ USE(rcsid);
#include "unused.h"
#include "sigflags.h"
#include "local-to-global.h"
#include "server-time.h"
#ifdef TRACED_ALLOCATIONS
# include "trace-alloc.h"
#endif
...
...
@@ -117,6 +118,7 @@ USE(rcsid);
Kom_err
kom_errno
=
KOM_NO_ERROR
;
unsigned
long
err_stat
=
0
;
time_t
current_time
=
0
;
#ifndef NDEBUG
...
...
@@ -439,6 +441,7 @@ main (int argc,
#ifdef HAVE_STRUCT_SIGACTION
struct
sigaction
act
;
#endif
current_time
=
time
(
NULL
);
#ifdef TRACED_ALLOCATIONS
/* We must do this before we allocate any memory... */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment