]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - mod_auth-ip-info.patch
- fix formatting when username present in file but still wrong pass
[packages/lighttpd.git] / mod_auth-ip-info.patch
index 664f77e984295541edd3fcfa1ff07d586e2e1664..30e9966a72d1119a11f48946fcaefd4dfb43b398 100644 (file)
@@ -9,3 +9,14 @@
                }
  
                return 0;
+--- lighttpd-1.4.26/src/http_auth.c~   2010-05-24 23:39:16.000000000 +0300
++++ lighttpd-1.4.26/src/http_auth.c    2010-05-24 23:39:25.761721926 +0300
+@@ -877,7 +877,7 @@
+       /* password doesn't match */
+       if (http_auth_basic_password_compare(srv, p, req, username, realm->value, password, pw)) {
+-              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)));
++              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)));
+               buffer_free(username);
+               buffer_free(password);
This page took 0.02841 seconds and 4 git commands to generate.