do not return 0-terminator

This commit is contained in:
Christian Grothoff 2019-12-08 22:48:33 +01:00
parent 45a7b98d4b
commit 7ad562af55
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -231,7 +231,7 @@ TEH_handler_terms (struct TEH_RequestHandler *rh,
.mime_type = "text/plain",
.terms = "Terms of service not configured",
.language = "en",
.terms_size = sizeof ("Terms of service not configured")
.terms_size = strlen ("Terms of service not configured")
};
t = &none;
}