projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Let w3m itself do the line wrapping for the config file
[privoxy.git]
/
cgisimple.c
diff --git
a/cgisimple.c
b/cgisimple.c
index
95cb7ad
..
7855fa0
100644
(file)
--- a/
cgisimple.c
+++ b/
cgisimple.c
@@
-1,4
+1,4
@@
-const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.11
4 2012/03/09 16:24:36
fabiankeil Exp $";
+const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.11
7 2012/10/21 12:55:29
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $
@@
-255,7
+255,7
@@
jb_err cgi_show_request(struct client_state *csp,
/*
* Repair the damage done to the IOB by get_header()
*/
/*
* Repair the damage done to the IOB by get_header()
*/
- for (p = csp->
iob->buf; p < csp->iob->eod
; p++)
+ for (p = csp->
client_iob->buf; p < csp->client_iob->cur
; p++)
{
if (*p == '\0') *p = '\n';
}
{
if (*p == '\0') *p = '\n';
}
@@
-265,7
+265,7
@@
jb_err cgi_show_request(struct client_state *csp,
* be sending to the server if this wasn't a CGI call
*/
* be sending to the server if this wasn't a CGI call
*/
- if (map(exports, "client-request", 1, html_encode(csp->iob->buf), 0))
+ if (map(exports, "client-request", 1, html_encode(csp->
client_
iob->buf), 0))
{
free_map(exports);
return JB_ERR_MEMORY;
{
free_map(exports);
return JB_ERR_MEMORY;
@@
-1408,6
+1408,9
@@
jb_err cgi_show_url_info(struct client_state *csp,
case SOCKS_5:
socks_type = "socks5";
break;
case SOCKS_5:
socks_type = "socks5";
break;
+ case SOCKS_5T:
+ socks_type = "socks5t";
+ break;
default:
log_error(LOG_LEVEL_FATAL, "Unknown socks type: %d.", fwd->type);
}
default:
log_error(LOG_LEVEL_FATAL, "Unknown socks type: %d.", fwd->type);
}