author | Michael Krelin <hacker@klever.net> | 2005-05-09 11:04:24 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2005-05-09 11:04:24 (UTC) |
commit | 01e3789f5b7c3b2c0282b70eb203d11c76d3c8f3 (patch) (unidiff) | |
tree | 580ebd4a1379c40cfbaa925849de2e42dd7cd441 /lib/sitecing_interface_cgi.cc | |
parent | 981b219f5297ad2ccc1fc1d0e24e41ec009c35a3 (diff) | |
download | sitecing-01e3789f5b7c3b2c0282b70eb203d11c76d3c8f3.zip sitecing-01e3789f5b7c3b2c0282b70eb203d11c76d3c8f3.tar.gz sitecing-01e3789f5b7c3b2c0282b70eb203d11c76d3c8f3.tar.bz2 |
made use of kingate's headers container.
Diffstat (limited to 'lib/sitecing_interface_cgi.cc') (more/less context) (ignore whitespace changes)
-rw-r--r-- | lib/sitecing_interface_cgi.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sitecing_interface_cgi.cc b/lib/sitecing_interface_cgi.cc index f2bd093..59ae25a 100644 --- a/lib/sitecing_interface_cgi.cc +++ b/lib/sitecing_interface_cgi.cc | |||
@@ -37,15 +37,15 @@ namespace sitecing { | |||
37 | bool sitecing_interface_cgi::is_buffering() { | 37 | bool sitecing_interface_cgi::is_buffering() { |
38 | return outs.rdbuf()==&prebuffer; | 38 | return outs.rdbuf()==&prebuffer; |
39 | } | 39 | } |
40 | 40 | ||
41 | void sitecing_interface_cgi::flush_headers() { | 41 | void sitecing_interface_cgi::flush_headers() { |
42 | assert(cgigw); | 42 | assert(cgigw); |
43 | if(headers_flushed) | 43 | if(headers_flushed) |
44 | return; | 44 | return; |
45 | for(headers_t::const_iterator i=headers.begin();i!=headers.end();i++) | 45 | for(kingate::headers::const_iterator i=headers.begin();i!=headers.end();i++) |
46 | cgigw->out() << i->first << ": " << i->second << "\n"; | 46 | cgigw->out() << i->first << ": " << i->second << "\n"; |
47 | cgigw->out() << "\n"; | 47 | cgigw->out() << "\n"; |
48 | headers_flushed = true; | 48 | headers_flushed = true; |
49 | } | 49 | } |
50 | 50 | ||
51 | } | 51 | } |