mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00
Code cleanup
This commit is contained in:
parent
4d7cee81eb
commit
abf79d5a38
2 changed files with 5 additions and 7 deletions
|
@ -96,7 +96,7 @@ int main(void)
|
|||
res.set_content(dump_headers(req.headers), "text/plain");
|
||||
});
|
||||
|
||||
svr.Get("/stop", [&](const Request& /*req*/, Response& res) {
|
||||
svr.Get("/stop", [&](const Request& /*req*/, Response& /*res*/) {
|
||||
svr.stop();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue