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
a0feaebe
Commit
a0feaebe
authored
Jul 08, 1998
by
Per Cederqvist
Browse files
(log_param): Flag unused argument.
(param_name): Now static. (rcsid): Added a missing const.
parent
70f5578c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/server-config.c
View file @
a0feaebe
/*
* $Id: server-config.c,v 0.4
5
1998/07/0
7
1
2:19:08
ceder Exp $
* $Id: server-config.c,v 0.4
6
1998/07/0
8
1
7:02:21
ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -31,7 +31,8 @@
* Compile with -DDEFAULT_PREFIX='"/usr/lyskom"' or something similar.
*/
static
char
*
rcsid
=
"$Id: server-config.c,v 0.45 1998/07/07 12:19:08 ceder Exp $"
;
static
const
char
*
rcsid
=
"$Id: server-config.c,v 0.46 1998/07/08 17:02:21 ceder Exp $"
;
#include
"rcs.h"
USE
(
rcsid
);
...
...
@@ -57,6 +58,7 @@ USE(rcsid);
#include
"log.h"
#include
"manipulate.h"
#include
"lyskomd.h"
#include
"unused.h"
static
Success
log_param
(
const
char
*
val
,
const
struct
parameter
*
par
);
...
...
@@ -252,7 +254,7 @@ const int MAX_NO_OF_CONNECTIONS = (OPEN_MAX - PROTECTED_FDS);
const
unsigned
char
*
WHITESPACE
=
(
const
unsigned
char
*
)
"
\t\n\r
"
;
static
Success
log_param
(
const
char
*
val
,
const
struct
parameter
*
par
)
log_param
(
const
char
*
val
,
const
struct
parameter
*
UNUSED
(
par
)
)
{
if
(
val
!=
NULL
)
log
(
"config: %s
\n
"
,
val
);
...
...
@@ -327,7 +329,7 @@ add_prefix(char **name)
*
name
=
s
;
}
const
char
*
static
const
char
*
param_name
(
void
*
value
)
{
int
ix
;
...
...
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