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);
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;
}
}