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
082dccbd
Commit
082dccbd
authored
Oct 07, 1995
by
Per Cederqvist
Browse files
(dump_statistics): Use param.statistic_name instead of statisticfile.
parent
d96c6b17
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/connections.c
View file @
082dccbd
/*
* $Id: connections.c,v 0.3
7
199
4
/10/
22 12:09
:4
2
ceder Exp $
* $Id: connections.c,v 0.3
8
199
5
/10/
07 14:25
:4
8
ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -30,7 +30,7 @@
* Created by Willf|r 31/3-90. Mostly written by ceder.
*/
static
char
*
rcsid
=
"$Id: connections.c,v 0.3
7
199
4
/10/
22 12:09
:4
2
ceder Exp $"
;
static
char
*
rcsid
=
"$Id: connections.c,v 0.3
8
199
5
/10/
07 14:25
:4
8
ceder Exp $"
;
#include
"rcs.h"
USE
(
rcsid
);
...
...
@@ -614,13 +614,12 @@ dump_statistics(void)
int
i
;
time_t
now
;
FILE
*
fp
;
extern
char
statisticfile
[
1024
];
/* Defined in ramkomd.c */
if
(
(
fp
=
fopen
(
statistic
fil
e
,
"a"
))
==
NULL
)
if
((
fp
=
fopen
(
param
.
statistic
_nam
e
,
"a"
))
==
NULL
)
{
log
(
"%s: dump_statistics(): can't open file %s
\n
"
,
__FILE__
,
statistic
fil
e
);
param
.
statistic
_nam
e
);
return
;
}
...
...
Write
Preview
Supports
Markdown
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