From 882848c1a0d525283b391695da4681722c46e9dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 24 May 2010 20:50:26 +0000 Subject: [PATCH] - fix format string Changed files: mod_auth-ip-info.patch -> 1.2 --- mod_auth-ip-info.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mod_auth-ip-info.patch b/mod_auth-ip-info.patch index ed86afb..664f77e 100644 --- a/mod_auth-ip-info.patch +++ b/mod_auth-ip-info.patch @@ -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; -- 2.44.0