Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
c72f709b
Commit
c72f709b
authored
Aug 10, 2013
by
Davis King
Browse files
Fixed incorrect type used for iterator in example program.
parent
2a56ca8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/server_http_ex.cpp
examples/server_http_ex.cpp
+1
-1
No files found.
examples/server_http_ex.cpp
View file @
c72f709b
...
@@ -72,7 +72,7 @@ class web_server : public server_http
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment