Skip to content
Snippets Groups Projects
Commit 16a33e12 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

set_motd_of_lyskom now sets kom_errno to KOM_MARK_LIMIT where appropriate.

parent 613febc1
No related branches found
No related tags found
No related merge requests found
...@@ -63,8 +63,9 @@ set_motd_of_lyskom (Text_no motd) ...@@ -63,8 +63,9 @@ set_motd_of_lyskom (Text_no motd)
GET_T_STAT(new_motd, motd, FAILURE); GET_T_STAT(new_motd, motd, FAILURE);
if ( new_motd->no_of_marks >= MAX_MARKS_TEXT ) if ( new_motd->no_of_marks >= MAX_MARKS_TEXT )
{ {
log( log("LIMIT: set_motd_of_lyskom(%d): New motd has %d marks.\n",
"LIMIT: set_motd_of_lyskom(): New motd very marked.\n"); motd, new_motd->no_of_marks);
kom_errno = KOM_MARK_LIMIT;
return FAILURE; return FAILURE;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment