summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@banu.com>2009-12-04 05:41:36 +0530
committerMukund Sivaraman <muks@banu.com>2009-12-04 05:41:36 +0530
commit0480185d07649aa063210e1c50ca4da884bc11e9 (patch)
treeb1211756ac99c63b96d494fc30f316819960515c
parent607e8ec0e74de155b5a736f29b74f9b32f734a41 (diff)
downloadtinyproxy-0480185d07649aa063210e1c50ca4da884bc11e9.tar.gz
tinyproxy-0480185d07649aa063210e1c50ca4da884bc11e9.zip
Use capitalized name in error messages
-rw-r--r--src/reqs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reqs.c b/src/reqs.c
index fd6531f..2c165d9 100644
--- a/src/reqs.c
+++ b/src/reqs.c
@@ -1212,7 +1212,7 @@ retry:
indicate_http_error (connptr, 503,
"Could not retrieve all the headers",
"detail",
- PACKAGE " "
+ PACKAGE_NAME " "
"was unable to retrieve and process headers from "
"the remote web server.", NULL);
return -1;
@@ -1641,7 +1641,7 @@ void handle_connection (int fd)
if (connptr->server_fd < 0) {
indicate_http_error (connptr, 500, "Unable to connect",
"detail",
- PACKAGE " "
+ PACKAGE_NAME " "
"was unable to connect to the remote web server.",
"error", strerror (errno), NULL);
goto send_error;