formatting and extra log_message

This commit is contained in:
Stephan Leemburg 2016-09-10 18:49:55 +02:00
parent 02d89fb4ad
commit b72fe55acd

View File

@ -373,9 +373,12 @@ BAD_REQUEST_ERROR:
safefree (url); safefree (url);
url = reverse_url; url = reverse_url;
} else if (config.reverseonly) { } else if (config.reverseonly) {
log_message (LOG_ERR,
"Bad request, no mapping for '%s' found",
url);
indicate_http_error (connptr, 400, "Bad Request", indicate_http_error (connptr, 400, "Bad Request",
"detail", "No mapping found for requested url", "detail", "No mapping found for "
"url", url, NULL); "requested url", "url", url, NULL);
goto fail; goto fail;
} }
} }