Skip to content
GitLab
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
32043be0
Commit
32043be0
authored
Nov 22, 1993
by
Per Cederqvist
Browse files
Fixed some format strings.
parent
e5de42f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/server/internal-connections.c
View file @
32043be0
/*
* $Id: internal-connections.c,v 0.1
6
1993/1
0/16 17:46:0
2 ceder Exp $
* $Id: internal-connections.c,v 0.1
7
1993/1
1/22 19:09:3
2 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -28,7 +28,7 @@
* Abstract routines on the data type Connection.
*/
static
char
*
rcsid
=
"$Id: internal-connections.c,v 0.1
6
1993/1
0/16 17:46:0
2 ceder Exp $"
;
static
char
*
rcsid
=
"$Id: internal-connections.c,v 0.1
7
1993/1
1/22 19:09:3
2 ceder Exp $"
;
#include
"rcs.h"
USE
(
rcsid
);
...
...
@@ -318,6 +318,6 @@ dump_allocated_connections(FILE *fp)
fprintf
(
fp
,
"---%s:
\n\t
Connections: %d
\n
"
,
__FILE__
,
no_of_allocated_connections
);
fprintf
(
fp
,
"
\t
Connection attempts: %
d
\n
"
,
no_of_connection_attempts
);
fprintf
(
fp
,
"
\t
Connection attempts: %
lu
\n
"
,
(
unsigned
long
)
no_of_connection_attempts
);
}
src/server/simple-cache.c
View file @
32043be0
/*
* $Id: simple-cache.c,v 0.4
0
1993/1
0/18 12:30:52
ceder Exp $
* $Id: simple-cache.c,v 0.4
1
1993/1
1/22 19:09:46
ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -33,7 +33,7 @@
* New save algorithm by ceder.
*/
static
char
*
rcsid
=
"$Id: simple-cache.c,v 0.4
0
1993/1
0/18 12:30:52
ceder Exp $"
;
static
char
*
rcsid
=
"$Id: simple-cache.c,v 0.4
1
1993/1
1/22 19:09:46
ceder Exp $"
;
#include
"rcs.h"
USE
(
rcsid
);
...
...
@@ -447,7 +447,7 @@ mark_text_as_changed( Text_no text_no )
node
=
get_text_node
(
text_no
);
TRACE2
(
"Text %
d
is changed.
\n
"
,
text_no
);
TRACE2
(
"Text %
u
is changed.
\n
"
,
text_no
);
if
(
text_no
<
1
||
text_no
>=
next_text_num
||
node
==
NULL
||
node
->
s
.
exists
==
0
)
{
...
...
@@ -829,7 +829,7 @@ cached_get_text( Text_no text )
String
the_string
;
Text_stat
*
t_stat
;
TRACE2
(
"cached_get_text %
d
\n
"
,
text
);
TRACE2
(
"cached_get_text %
u
\n
"
,
text
);
if
(
(
t_stat
=
cached_get_text_stat
(
text
))
==
NULL
)
return
EMPTY_STRING
;
...
...
@@ -858,7 +858,7 @@ cached_get_text_stat( Text_no text )
{
Cache_node
*
node
;
TRACE2
(
"cached_get_text_stat(%
d
); next_text_num == "
,
text
);
TRACE2
(
"cached_get_text_stat(%
u
); next_text_num == "
,
text
);
TRACE2
(
"%d
\n
"
,
next_text_num
);
if
(
text
==
0
)
...
...
@@ -918,7 +918,7 @@ cached_create_text(const String message)
tno
=
next_text_num
++
;
TRACE2
(
"cached_create_text (len=%
d
)
\n
"
,
message
.
len
);
TRACE2
(
"cached_create_text (len=%
u
)
\n
"
,
message
.
len
);
if
(
tno
>=
MAX_TEXT
)
{
...
...
@@ -956,7 +956,7 @@ cached_create_text(const String message)
fflush
(
text_file
);
LOGACC
(
lt_create_text
,
tno
);
TRACE2
(
"cached_create_text -> %
d
\n
"
,
tno
);
TRACE2
(
"cached_create_text -> %
u
\n
"
,
tno
);
return
tno
;
}
...
...
@@ -1564,7 +1564,7 @@ save_one_pers(void)
}
else
/* All persons are written. */
{
fprintf
(
file_b
,
"%
d
\n
"
,
highest_text_no
);
/* NEXT_TEXT_NUM */
fprintf
(
file_b
,
"%
u
\n
"
,
highest_text_no
);
/* NEXT_TEXT_NUM */
sync_next
=
1
;
sync_state
=
sync_save_text
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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