From b72fe55acdf36c18af9a916d7916b6040c912b83 Mon Sep 17 00:00:00 2001 From: Stephan Leemburg Date: Sat, 10 Sep 2016 18:49:55 +0200 Subject: [PATCH] formatting and extra log_message --- src/reqs.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/reqs.c b/src/reqs.c index de1e951..520fd75 100644 --- a/src/reqs.c +++ b/src/reqs.c @@ -373,9 +373,12 @@ BAD_REQUEST_ERROR: safefree (url); url = reverse_url; } else if (config.reverseonly) { + log_message (LOG_ERR, + "Bad request, no mapping for '%s' found", + url); indicate_http_error (connptr, 400, "Bad Request", - "detail", "No mapping found for requested url", - "url", url, NULL); + "detail", "No mapping found for " + "requested url", "url", url, NULL); goto fail; } }