Fixed incorrect type used for iterator in example program.

This commit is contained in:
Davis King 2013-08-10 09:21:01 -04:00
parent 2a56ca8d33
commit c72f709bbc
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class web_server : public server_http
sout << "<h2>HTTP Headers the web browser sent to the server</h2>"; 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 // 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; sout << "<br/>" << ci->first << ": " << ci->second << endl;
} }