~ubuntu-branches/ubuntu/hardy/lighttpd/hardy

« back to all changes in this revision

Viewing changes to src/http-header-glue.c

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2007-05-01 13:15:59 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070501131559-y8jos9wp79uf3pp4
Tags: 1.4.15-1ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  - Add fam/gamin stat cache engine support
  - Clean environment in init.d script
  - Replace Depends: on perl with Depends: on libterm-readline-perl-perl
  - Make sure that upgrades succeed, even if we can't restart lighttpd
  - DebianMaintainerField update

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
                                char dst[INET6_ADDRSTRLEN];
149
149
 
150
150
                                log_error_write(srv, __FILE__, __LINE__,
151
 
                                                "SSSS", "NOTICE: getnameinfo failed: ",
 
151
                                                "SSS", "NOTICE: getnameinfo failed: ",
152
152
                                                strerror(errno), ", using ip-address instead");
153
153
 
154
154
                                buffer_append_string(o,
162
162
                case AF_INET:
163
163
                        if (NULL == (he = gethostbyaddr((char *)&our_addr.ipv4.sin_addr, sizeof(struct in_addr), AF_INET))) {
164
164
                                log_error_write(srv, __FILE__, __LINE__,
165
 
                                                "SdSS", "NOTICE: gethostbyaddr failed: ",
 
165
                                                "SdS", "NOTICE: gethostbyaddr failed: ",
166
166
                                                h_errno, ", using ip-address instead");
167
167
 
168
168
                                buffer_append_string(o, inet_ntoa(our_addr.ipv4.sin_addr));