From: Fabian Keil Date: Sat, 31 Dec 2011 14:54:28 +0000 (+0000) Subject: Fix spelling of 'unknown' in default_exports() X-Git-Tag: v_3_0_20~419 X-Git-Url: http://www.privoxy.org/gitweb/introduction.html?a=commitdiff_plain;h=53b34f902daab60dac7b72d19131a969698e7697;p=privoxy.git Fix spelling of 'unknown' in default_exports() Seen in Roland's 29_typos.dpatch. --- diff --git a/cgi.c b/cgi.c index a08020cc..d28b9204 100644 --- a/cgi.c +++ b/cgi.c @@ -1,4 +1,4 @@ -const char cgi_rcs[] = "$Id: cgi.c,v 1.145 2011/10/08 17:31:05 fabiankeil Exp $"; +const char cgi_rcs[] = "$Id: cgi.c,v 1.146 2011/12/31 14:47:44 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/cgi.c,v $ @@ -2142,7 +2142,7 @@ struct map *default_exports(const struct client_state *csp, const char *caller) if (!err) err = map(exports, "time", 1, html_encode(buf), 0); if (!err) err = map(exports, "my-ip-address", 1, html_encode(ip_address ? ip_address : "unknown"), 0); freez(ip_address); - if (!err) err = map(exports, "my-port", 1, html_encode(port ? port : "unkown"), 0); + if (!err) err = map(exports, "my-port", 1, html_encode(port ? port : "unknown"), 0); freez(port); if (!err) err = map(exports, "my-hostname", 1, html_encode(hostname ? hostname : "unknown"), 0); freez(hostname);