change selinval error message to reflect what it checked - geomyidae - A small C-based gopherd.
(HTM) git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
(DIR) LICENSE
---
(DIR) commit efab0d1f664ac58350ead1e8e7259a31916babe1
(DIR) parent fc6e766a8c45e7a83a0f3b40345b7dccf4e49b11
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 20 Aug 2018 18:16:46 +0200
change selinval error message to reflect what it checked
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat:
M main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/main.c b/main.c
@@ -66,8 +66,8 @@ char *htredir = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
" </body>\n"
"</html>\n";
char *selinval ="3Happy helping ☃ here: "
- "Sorry, your selector contains '..'. That's illegal here.\tErr"
- "\tlocalhost\t70\r\n.\r\n\r\n";
+ "Sorry, your selector does not start with / or contains '..'. "
+ "That's illegal here.\tErr\tlocalhost\t70\r\n.\r\n\r\n";
int
dropprivileges(struct group *gr, struct passwd *pw)