From 51088333edc297e89b1a7ad5ff47901a7f4d94cc Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Fri, 23 Jun 2017 09:16:28 +0100 Subject: [PATCH] Fix typo. --- src/kamokan_impl/error_response.cpp | 2 +- src/tawashi/error_reasons.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kamokan_impl/error_response.cpp b/src/kamokan_impl/error_response.cpp index 85eb247..7e456dd 100644 --- a/src/kamokan_impl/error_response.cpp +++ b/src/kamokan_impl/error_response.cpp @@ -41,7 +41,7 @@ namespace kamokan { auto get = cgi_env().query_string_split(); const int reason_int = boost::lexical_cast(get["reason"]); - ErrorReasons reason_code(ErrorReasons::UnkownReason); + ErrorReasons reason_code(ErrorReasons::UnknownReason); if (reason_int >= 0 and reason_int < ErrorReasons::_size()) reason_code = ErrorReasons::_from_integral(reason_int); diff --git a/src/tawashi/error_reasons.hpp b/src/tawashi/error_reasons.hpp index 78b6fc9..1fa4814 100644 --- a/src/tawashi/error_reasons.hpp +++ b/src/tawashi/error_reasons.hpp @@ -24,7 +24,7 @@ namespace tawashi { PostLengthNotInRange, PastieNotSaved, UserFlooding, - UnkownReason, + UnknownReason, RedisDisconnected, MissingPostVariable, PastieNotFound,