From 2b7b52f97a43ce0b587756f827a6d156039e7e2b Mon Sep 17 00:00:00 2001 From: Gianfranco Costamagna Date: Thu, 17 Mar 2016 08:32:42 +0100 Subject: [PATCH] Fix typo hexidecimal/hexadecimal Spotted by debian lintian checks --- Release/src/uri/uri.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Release/src/uri/uri.cpp b/Release/src/uri/uri.cpp index e9647bb276..104719c81d 100644 --- a/Release/src/uri/uri.cpp +++ b/Release/src/uri/uri.cpp @@ -226,7 +226,7 @@ static int hex_char_digit_to_decimal_char(int hex) } else { - throw uri_exception("Invalid hexidecimal digit"); + throw uri_exception("Invalid hexadecimal digit"); } return decimal; } @@ -240,12 +240,12 @@ utility::string_t uri::decode(const utility::string_t &encoded) { if(++iter == encoded.end()) { - throw uri_exception("Invalid URI string, two hexidecimal digits must follow '%'"); + throw uri_exception("Invalid URI string, two hexadecimal digits must follow '%'"); } int decimal_value = hex_char_digit_to_decimal_char(static_cast(*iter)) << 4; if(++iter == encoded.end()) { - throw uri_exception("Invalid URI string, two hexidecimal digits must follow '%'"); + throw uri_exception("Invalid URI string, two hexadecimal digits must follow '%'"); } decimal_value += hex_char_digit_to_decimal_char(static_cast(*iter));