This commit is contained in:
jl777
2018-04-12 21:13:16 +03:00
parent f0a71becef
commit 4e13218a0e

View File

@@ -19,7 +19,7 @@ namespace
{
static bool ParsePrechecks(const std::string& str)
{
fprintf(stderr,"Parse.(%s)\n",str.c_str());
//fprintf(stderr,"Parse.(%s)\n",str.c_str());
if (str.empty()) // No empty string allowed
return false;
if (str.size() >= 1 && (json_isspace(str[0]) || json_isspace(str[str.size()-1]))) // No padding allowed