Use capitalized name in error messages

This commit is contained in:
Mukund Sivaraman 2009-12-04 05:41:36 +05:30
parent 607e8ec0e7
commit 0480185d07

View File

@ -1212,7 +1212,7 @@ retry:
indicate_http_error (connptr, 503, indicate_http_error (connptr, 503,
"Could not retrieve all the headers", "Could not retrieve all the headers",
"detail", "detail",
PACKAGE " " PACKAGE_NAME " "
"was unable to retrieve and process headers from " "was unable to retrieve and process headers from "
"the remote web server.", NULL); "the remote web server.", NULL);
return -1; return -1;
@ -1641,7 +1641,7 @@ void handle_connection (int fd)
if (connptr->server_fd < 0) { if (connptr->server_fd < 0) {
indicate_http_error (connptr, 500, "Unable to connect", indicate_http_error (connptr, 500, "Unable to connect",
"detail", "detail",
PACKAGE " " PACKAGE_NAME " "
"was unable to connect to the remote web server.", "was unable to connect to the remote web server.",
"error", strerror (errno), NULL); "error", strerror (errno), NULL);
goto send_error; goto send_error;