Test
This commit is contained in:
@@ -19,7 +19,7 @@ namespace
|
|||||||
{
|
{
|
||||||
static bool ParsePrechecks(const std::string& str)
|
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
|
if (str.empty()) // No empty string allowed
|
||||||
return false;
|
return false;
|
||||||
if (str.size() >= 1 && (json_isspace(str[0]) || json_isspace(str[str.size()-1]))) // No padding allowed
|
if (str.size() >= 1 && (json_isspace(str[0]) || json_isspace(str[str.size()-1]))) // No padding allowed
|
||||||
|
|||||||
Reference in New Issue
Block a user