aboutsummaryrefslogtreecommitdiffstats
path: root/include/routing.h
diff options
context:
space:
mode:
authoripknHama <ipknhama@gmail.com>2014-12-12 01:38:57 +0900
committeripknHama <ipknhama@gmail.com>2014-12-12 01:38:57 +0900
commit966867a9ca8ca3dd9e783d628b8184563318d03c (patch)
tree27b86384181a400863580dab1b719ca3b01d2a91 /include/routing.h
parentc2f75a7de1eaa9a0e1a5a97b5fc1ee60c8c3a642 (diff)
downloadcrow-966867a9ca8ca3dd9e783d628b8184563318d03c.tar.gz
crow-966867a9ca8ca3dd9e783d628b8184563318d03c.zip
change pointer to reference; fix up spaces
Diffstat (limited to 'include/routing.h')
-rw-r--r--include/routing.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/routing.h b/include/routing.h
index 9f607f1..f074b69 100644
--- a/include/routing.h
+++ b/include/routing.h
@@ -636,9 +636,9 @@ public:
if (!rule_index)
{
- CROW_LOG_DEBUG << "Cannot match rules " << req.url;
+ CROW_LOG_DEBUG << "Cannot match rules " << req.url;
res = response(404);
- res.end();
+ res.end();
return;
}
@@ -647,9 +647,9 @@ public:
if ((rules_[rule_index]->methods() & (1<<(uint32_t)req.method)) == 0)
{
- CROW_LOG_DEBUG << "Rule found but method mismatch: " << req.url << " with " << method_name(req.method) << "(" << (uint32_t)req.method << ") / " << rules_[rule_index]->methods();
+ CROW_LOG_DEBUG << "Rule found but method mismatch: " << req.url << " with " << method_name(req.method) << "(" << (uint32_t)req.method << ") / " << rules_[rule_index]->methods();
res = response(404);
- res.end();
+ res.end();
return;
}