Several changes from Debian package 3.0.12 to 3.0.19-1.
[privoxy.git] / debian / patches / 29_typos.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 29_typos.dpatch by Roland Rosenfeld <roland@debian.org>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: fix some common typos: lenght -> length, reenable -> re-enable
6
7 @DPATCH@
8 diff -urNad '--exclude=CVS' '--exclude=.svn' privoxy~/cgi.c privoxy/cgi.c
9 --- privoxy~/cgi.c
10 +++ privoxy/cgi.c
11 @@ -2145,7 +2145,7 @@
12     if (!err) err = map(exports, "time",          1, html_encode(buf), 0);
13     if (!err) err = map(exports, "my-ip-address", 1, html_encode(ip_address ? ip_address : "unknown"), 0);
14     freez(ip_address);
15 -   if (!err) err = map(exports, "my-port",       1, html_encode(port ? port : "unkown"), 0);
16 +   if (!err) err = map(exports, "my-port",       1, html_encode(port ? port : "unknown"), 0);
17     freez(port);
18     if (!err) err = map(exports, "my-hostname",   1, html_encode(hostname ? hostname : "unknown"), 0);
19     freez(hostname);
20 diff -urNad '--exclude=CVS' '--exclude=.svn' privoxy~/tools/privoxy-log-parser.pl privoxy/tools/privoxy-log-parser.pl
21 --- privoxy~/tools/privoxy-log-parser.pl
22 +++ privoxy/tools/privoxy-log-parser.pl
23 @@ -2518,7 +2518,7 @@
24  Doesn't do anything else, so you probably want to pipe the output into
25  B<privoxy-log-parser> again.
26  
27 -[B<--url-statistics-threshold>] Only show the request count for a ressource
28 +[B<--url-statistics-threshold>] Only show the request count for a resource
29  if it's above or equal to the given threshold. If the threshold is 0, URL
30  statistics are disabled.
31