]> git.pld-linux.org Git - packages/lighttpd.git/blob - mod_auth-ip-info.patch
- fix format string
[packages/lighttpd.git] / mod_auth-ip-info.patch
1 --- lighttpd-1.4.26/src/http_auth.c.bak 2010-05-24 21:54:12.000000000 +0200
2 +++ lighttpd-1.4.26/src/http_auth.c     2010-05-24 22:11:52.000000000 +0200
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");
8 +                       log_error_write(srv, __FILE__, __LINE__, "ss", "get_password failed, IP:", inet_ntop_cache_get_ip(srv, &(con->dst_addr)));
9                 }
10  
11                 return 0;
This page took 0.080026 seconds and 3 git commands to generate.