]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- fix format string
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 24 May 2010 20:50:26 +0000 (20:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mod_auth-ip-info.patch -> 1.2

mod_auth-ip-info.patch

index ed86afb7c59e5a3d4d274369375e8e2477c95b66..664f77e984295541edd3fcfa1ff07d586e2e1664 100644 (file)
@@ -1,11 +1,11 @@
---- http_auth.c.bak    2010-05-24 21:54:12.000000000 +0200
-+++ http_auth.c        2010-05-24 22:11:52.000000000 +0200
+--- lighttpd-1.4.26/src/http_auth.c.bak        2010-05-24 21:54:12.000000000 +0200
++++ lighttpd-1.4.26/src/http_auth.c    2010-05-24 22:11:52.000000000 +0200
 @@ -869,7 +869,7 @@
                if (AUTH_BACKEND_UNSET == p->conf.auth_backend) {
                        log_error_write(srv, __FILE__, __LINE__, "s", "auth.backend is not set");
                } else {
 -                      log_error_write(srv, __FILE__, __LINE__, "s", "get_password failed");
-+                      log_error_write(srv, __FILE__, __LINE__, "s", "get_password failed", "IP:" inet_ntop_cache_get_ip (srv, & (con-> dst_addr)) );
++                      log_error_write(srv, __FILE__, __LINE__, "ss", "get_password failed, IP:", inet_ntop_cache_get_ip(srv, &(con->dst_addr)));
                }
  
-               return 0;
\ No newline at end of file
+               return 0;
This page took 0.04857 seconds and 4 git commands to generate.