Commit c72f709b authored by Davis King's avatar Davis King

Fixed incorrect type used for iterator in example program.

parent 2a56ca8d
......@@ -72,7 +72,7 @@ class web_server : public server_http
sout << "<h2>HTTP Headers the web browser sent to the server</h2>";
// Echo out all the HTTP headers we received from the client web browser
for ( key_value_map::const_iterator ci = incoming.headers.begin(); ci != incoming.headers.end(); ++ci )
for ( key_value_map_ci::const_iterator ci = incoming.headers.begin(); ci != incoming.headers.end(); ++ci )
{
sout << "<br/>" << ci->first << ": " << ci->second << endl;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment