packages: lighttpd/mod_auth-ip-info.patch - fix format string

glen glen at pld-linux.org
Mon May 24 22:50:31 CEST 2010


Author: glen                         Date: Mon May 24 20:50:31 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix format string

---- Files affected:
packages/lighttpd:
   mod_auth-ip-info.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/lighttpd/mod_auth-ip-info.patch
diff -u packages/lighttpd/mod_auth-ip-info.patch:1.1 packages/lighttpd/mod_auth-ip-info.patch:1.2
--- packages/lighttpd/mod_auth-ip-info.patch:1.1	Mon May 24 22:28:25 2010
+++ packages/lighttpd/mod_auth-ip-info.patch	Mon May 24 22:50:26 2010
@@ -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;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lighttpd/mod_auth-ip-info.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list