From 966867a9ca8ca3dd9e783d628b8184563318d03c Mon Sep 17 00:00:00 2001 From: ipknHama Date: Fri, 12 Dec 2014 01:38:57 +0900 Subject: change pointer to reference; fix up spaces --- include/routing.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/routing.h') 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; } -- cgit v1.2.3-54-g00ecf