]> git.pld-linux.org Git - packages/lighttpd.git/blame - lighttpd-getsockname.patch
- fix md5, it was okay before
[packages/lighttpd.git] / lighttpd-getsockname.patch
CommitLineData
a4b55f56
ER
1--- lighttpd-1.3.7/src/response.c~ 2004-11-26 00:40:59.000000000 +0200
2+++ lighttpd-1.3.7/src/response.c 2005-01-28 21:07:28.000000000 +0200
3@@ -1036,7 +1036,7 @@
4
5 our_addr_len = sizeof(our_addr);
6
7- if (-1 == getpeername(con->fd, &(our_addr.plain), &our_addr_len)) {
8+ if (-1 == getsockname(con->fd, &(our_addr.plain), &our_addr_len)) {
9 con->http_status = 500;
10
11 log_error_write(srv, __FILE__, __LINE__, "ss",
This page took 0.112909 seconds and 4 git commands to generate.