mirror of https://github.com/davisking/dlib.git
Fixed incorrect type used for iterator in example program.
This commit is contained in:
parent
2a56ca8d33
commit
c72f709bbc
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue