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
9a8962fe
Commit
9a8962fe
authored
Jun 24, 1999
by
Per Cederqvist
Browse files
(find_linked_aux_item_list): Add trailing newline in format string to kom_log.
(aux_item_validate): Likewise.
parent
c7516d5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/aux-items.c
View file @
9a8962fe
/*
* $Id: aux-items.c,v 1.1
8
1999/06/24 1
1:16:00 by
er
s
Exp $
* $Id: aux-items.c,v 1.1
9
1999/06/24 1
2:24:48 ced
er Exp $
* Copyright (C) 1994-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -599,7 +599,8 @@ find_linked_aux_item_list(Aux_item *item)
case
PERS_OBJECT_TYPE
:
default:
/* No lists in these items */
kom_log
(
"find_linked_aux_item_list: Bad aux_item somewhere: link to person or other kind."
);
kom_log
(
"find_linked_aux_item_list: Bad aux_item somewhere: "
"link to person or other kind.
\n
"
);
return
NULL
;
}
}
...
...
@@ -958,7 +959,8 @@ static Bool aux_item_validate(Aux_item_validation_data validation_data)
if
(
def
->
validators
[
i
].
v
.
re
.
cached_re_buf
==
NULL
)
{
kom_log
(
"Failed to cache regexp validator for
\"
%s
\"
. Rejecting all such items"
,
kom_log
(
"Failed to cache regexp validator for
\"
%s
\"
. "
"Rejecting all such items
\n
"
,
def
->
name
);
sfree
(
def
->
validators
[
i
].
v
.
re
.
regexp
);
def
->
validators
[
i
].
v
.
re
.
regexp
=
NULL
;
...
...
@@ -984,7 +986,7 @@ static Bool aux_item_validate(Aux_item_validation_data validation_data)
return
FALSE
;
case
-
2
:
/* Internal error may (be temporary) */
kom_log
(
"Internal error in regex matching aux-item data."
);
kom_log
(
"Internal error in regex matching aux-item data.
\n
"
);
kom_errno
=
KOM_ILL_AUX
;
return
FALSE
;
break
;
...
...
@@ -1007,7 +1009,7 @@ static Bool aux_item_validate(Aux_item_validation_data validation_data)
break
;
default:
kom_log
(
"BUG: unknown aux_item validator type"
);
kom_log
(
"BUG: unknown aux_item validator type
\n
"
);
}
}
...
...
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