1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2025-10-02 15:00:02 +00:00

Remove debug text that was breaking the http response.

Also check if there are tabs in the mime parameter.
This commit is contained in:
King_DuckZ 2017-06-01 09:06:10 +01:00
commit 5640cb5769

View file

@ -155,15 +155,8 @@ namespace tawashi {
template <typename V> template <typename V>
bool operator() (const V& parIn) const { bool operator() (const V& parIn) const {
std::cout << "simple_token_checker returning "; return std::find(std::begin(parIn), std::end(parIn), ' ') == std::end(parIn) and
if (std::find(std::begin(parIn), std::end(parIn), ' ') == std::end(parIn)) { std::find(std::begin(parIn), std::end(parIn), '\t') == std::end(parIn);
std::cout << "true\n";
return true;
}
else {
std::cout << "false\n";
return false;
}
} }
}; };
} //unnamed namespace } //unnamed namespace