geomyidae

A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
git clone git://r-36.net/geomyidae
Log | Files | Refs | README | LICENSE

commit efab0d1f664ac58350ead1e8e7259a31916babe1
parent fc6e766a8c45e7a83a0f3b40345b7dccf4e49b11
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:
main.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

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)