summaryrefslogtreecommitdiff
path: root/src/http-header-glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http-header-glue.c')
-rw-r--r--src/http-header-glue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http-header-glue.c b/src/http-header-glue.c
index 9786ed8..359efe9 100644
--- a/src/http-header-glue.c
+++ b/src/http-header-glue.c
@@ -148,7 +148,7 @@ int http_response_redirect_to_directory(server *srv, connection *con) {
char dst[INET6_ADDRSTRLEN];
log_error_write(srv, __FILE__, __LINE__,
- "SSSS", "NOTICE: getnameinfo failed: ",
+ "SSS", "NOTICE: getnameinfo failed: ",
strerror(errno), ", using ip-address instead");
buffer_append_string(o,
@@ -162,7 +162,7 @@ int http_response_redirect_to_directory(server *srv, connection *con) {
case AF_INET:
if (NULL == (he = gethostbyaddr((char *)&our_addr.ipv4.sin_addr, sizeof(struct in_addr), AF_INET))) {
log_error_write(srv, __FILE__, __LINE__,
- "SdSS", "NOTICE: gethostbyaddr failed: ",
+ "SdS", "NOTICE: gethostbyaddr failed: ",
h_errno, ", using ip-address instead");
buffer_append_string(o, inet_ntoa(our_addr.ipv4.sin_addr));