]> git.pld-linux.org Git - packages/lighttpd.git/blame - mod_auth-ip-info.patch
- format " properly in accesslog format when printing config with lighttpd -pf CONFIG...
[packages/lighttpd.git] / mod_auth-ip-info.patch
CommitLineData
a2c7c365
ER
1--- lighttpd-1.4.26/src/http_auth.c~ 2010-02-02 01:28:20.000000000 +0200
2+++ lighttpd-1.4.26/src/http_auth.c 2010-05-24 23:51:13.781442000 +0300
88a05c6a
ER
3@@ -869,7 +869,7 @@
4 if (AUTH_BACKEND_UNSET == p->conf.auth_backend) {
5 log_error_write(srv, __FILE__, __LINE__, "s", "auth.backend is not set");
6 } else {
7- log_error_write(srv, __FILE__, __LINE__, "s", "get_password failed");
882848c1 8+ log_error_write(srv, __FILE__, __LINE__, "ss", "get_password failed, IP:", inet_ntop_cache_get_ip(srv, &(con->dst_addr)));
88a05c6a
ER
9 }
10
882848c1 11 return 0;
029f1695
ER
12@@ -877,7 +877,7 @@
13
14 /* password doesn't match */
15 if (http_auth_basic_password_compare(srv, p, req, username, realm->value, password, pw)) {
16- log_error_write(srv, __FILE__, __LINE__, "sbbss", "password doesn't match for ", con->uri.path, username, ", IP:", inet_ntop_cache_get_ip(srv, &(con->dst_addr)));
17+ log_error_write(srv, __FILE__, __LINE__, "sbsBss", "password doesn't match for", con->uri.path, "username:", username, ", IP:", inet_ntop_cache_get_ip(srv, &(con->dst_addr)));
18
19 buffer_free(username);
20 buffer_free(password);
This page took 0.075755 seconds and 4 git commands to generate.