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
16a33e12
Commit
16a33e12
authored
May 26, 1991
by
Per Cederqvist
Browse files
set_motd_of_lyskom now sets kom_errno to KOM_MARK_LIMIT where appropriate.
parent
613febc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/admin.c
View file @
16a33e12
...
...
@@ -63,8 +63,9 @@ set_motd_of_lyskom (Text_no motd)
GET_T_STAT
(
new_motd
,
motd
,
FAILURE
);
if
(
new_motd
->
no_of_marks
>=
MAX_MARKS_TEXT
)
{
log
(
"LIMIT: set_motd_of_lyskom(): New motd very marked.
\n
"
);
log
(
"LIMIT: set_motd_of_lyskom(%d): New motd has %d marks.
\n
"
,
motd
,
new_motd
->
no_of_marks
);
kom_errno
=
KOM_MARK_LIMIT
;
return
FAILURE
;
}
}
...
...
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