projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
90085bd
)
Documenting sed()'s error behaviou (doc change only)
author
jongfoster
<jongfoster@users.sourceforge.net>
Tue, 23 Oct 2001 21:36:02 +0000
(21:36 +0000)
committer
jongfoster
<jongfoster@users.sourceforge.net>
Tue, 23 Oct 2001 21:36:02 +0000
(21:36 +0000)
parsers.c
patch
|
blob
|
history
diff --git
a/parsers.c
b/parsers.c
index
eef1fd6
..
02e0117
100644
(file)
--- a/
parsers.c
+++ b/
parsers.c
@@
-1,4
+1,4
@@
-const char parsers_rcs[] = "$Id: parsers.c,v 1.3
5 2001/10/09 22:39:21 jongfoster
Exp $";
+const char parsers_rcs[] = "$Id: parsers.c,v 1.3
6 2001/10/13 12:51:51 joergs
Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/parsers.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/parsers.c,v $
@@
-41,6
+41,12
@@
const char parsers_rcs[] = "$Id: parsers.c,v 1.35 2001/10/09 22:39:21 jongfoster
*
* Revisions :
* $Log: parsers.c,v $
*
* Revisions :
* $Log: parsers.c,v $
+ * Revision 1.36 2001/10/13 12:51:51 joergs
+ * Removed client_host, (was only required for the old 2.0.2-11 http://noijb.
+ * force-load), instead crumble Host: and add it (again) in client_host_adder
+ * (in case we get a HTTP/1.0 request without Host: header and forward it to
+ * a HTTP/1.1 server/proxy).
+ *
* Revision 1.35 2001/10/09 22:39:21 jongfoster
* assert.h is also required under Win32, so moving out of #ifndef _WIN32
* block.
* Revision 1.35 2001/10/09 22:39:21 jongfoster
* assert.h is also required under Win32, so moving out of #ifndef _WIN32
* block.
@@
-555,7
+561,8
@@
char *get_header(struct client_state *csp)
* headers (client or server)
* 3 : csp = Current client state (buffers, headers, etc...)
*
* headers (client or server)
* 3 : csp = Current client state (buffers, headers, etc...)
*
- * Returns : Single pointer to a fully formed header.
+ * Returns : Single pointer to a fully formed header, or NULL
+ * on out-of-memory error.
*
*********************************************************************/
char *sed(const struct parsers pats[], void (* const more_headers[])(struct client_state *), struct client_state *csp)
*
*********************************************************************/
char *sed(const struct parsers pats[], void (* const more_headers[])(struct client_state *), struct client_state *csp)
@@
-591,7
+598,7
@@
char *sed(const struct parsers pats[], void (* const more_headers[])(struct clie
hdr = list_to_text(csp->headers);
hdr = list_to_text(csp->headers);
- return
(hdr)
;
+ return
hdr
;
}
}