diff options
author | Renato Botelho <garga@FreeBSD.org> | 2009-11-09 10:24:23 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2009-11-09 10:24:23 +0000 |
commit | 53070bf7108a082a5c7a8e3edd63f86570535d7d (patch) | |
tree | 1d3b802460428f27ec75c6690b5e4a81c3072fd3 /www/lighttpd/files | |
parent | - update to 0.09 (diff) |
Update to 1.4.24
PR: ports/140316
Approved by: maintainer by email
Diffstat (limited to 'www/lighttpd/files')
-rw-r--r-- | www/lighttpd/files/patch-src_mod_accesslog.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/lighttpd/files/patch-src_mod_accesslog.c b/www/lighttpd/files/patch-src_mod_accesslog.c new file mode 100644 index 000000000000..e873fcfb9022 --- /dev/null +++ b/www/lighttpd/files/patch-src_mod_accesslog.c @@ -0,0 +1,13 @@ +--- src/mod_accesslog.c.orig 2009-11-05 12:40:58.000000000 -0200 ++++ src/mod_accesslog.c 2009-11-05 12:41:17.000000000 -0200 +@@ -162,7 +162,9 @@ + if (str->used == 0) return; + buffer_prepare_append(dest, str->used - 1); + +- for (unsigned int i = 0; i < str->used - 1; i++) { ++ unsigned int i; ++ ++ for (i = 0; i < str->used - 1; i++) { + if (str->ptr[i] >= ' ' && str->ptr[i] <= '~') { + /* printable chars */ + buffer_append_string_len(dest, &str->ptr[i], 1); |