allow empty array input links
This commit is contained in:
committed by
Michael Davidsaver
co-authored by
Michael Davidsaver
parent
d47fa4caa4
commit
ec650e8c3f
@@ -162,6 +162,11 @@ long dbPutConvertJSON(const char *json, short dbrType,
|
||||
if(INVALID_DB_REQ(dbrType))
|
||||
return S_db_badDbrtype;
|
||||
|
||||
if (!jlen) {
|
||||
*pnRequest = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
parser->depth = 0;
|
||||
parser->dbrType = dbrType;
|
||||
parser->dbrSize = dbValueSize(dbrType);
|
||||
|
||||
Reference in New Issue
Block a user