commit 658dc1eaab551a31d128ebfa46142eec53f18487
parent 1a1911226d27e2072fe9090035c008e5e4ebce49
Author: Christoph Lohmann <20h@r-36.net>
Date: Sat, 2 Apr 2022 23:27:14 +0200
Fix log message for encryption only.
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/main.c b/main.c
@@ -279,8 +279,10 @@ handlerequest(int sock, char *req, int rlen, char *base, char *ohost,
if (stat(path, &dir) != -1) {
if ((dir.st_mode & S_ISVTX) && !istls) {
dprintf(sock, tlserr, recvc);
- if (loglvl & ERRORS)
- logentry(clienth, clientp, recvc, "not found");
+ if (loglvl & ERRORS) {
+ logentry(clienth, clientp, recvc,
+ "encryption only");
+ }
return;
}