aboutsummaryrefslogtreecommitdiffstats
path: root/include/routing.h
diff options
context:
space:
mode:
authoripknHama <ipknhama@gmail.com>2014-12-12 01:48:56 +0900
committeripknHama <ipknhama@gmail.com>2014-12-12 01:48:56 +0900
commitad654da7115353baef19a4c87f53d4b88c02d4e5 (patch)
tree27b86384181a400863580dab1b719ca3b01d2a91 /include/routing.h
parent21b027774e4c472d27d8726774aad1aaed95ea42 (diff)
parent966867a9ca8ca3dd9e783d628b8184563318d03c (diff)
downloadcrow-ad654da7115353baef19a4c87f53d4b88c02d4e5.tar.gz
crow-ad654da7115353baef19a4c87f53d4b88c02d4e5.zip
Merge branch 'acron0-get-middleware2'
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;
}