Using new eHdb hipadaba output code.

r1204 | ffr | 2006-10-30 12:58:25 +1100 (Mon, 30 Oct 2006) | 2 lines
This commit is contained in:
Ferdi Franceschini
2006-10-30 12:58:25 +11:00
committed by Douglas Clowes
parent 19fa04ab39
commit eb6b037aac
4 changed files with 20 additions and 107 deletions

View File

@@ -632,7 +632,7 @@ struct json_object *mkJSON_Object(SConnection *pCon, char *pBuffer, int iOut)
json_object_object_add(msg_json, "flag", json_object_new_string(pCode[iOut]));
break;
}
if (iOut == eValue || iOut == eEvent) {
if (iOut == eHdb) {
tmp_json = json_tokener_parse(pBuffer);
if (is_error(msg_json)) { linenum = __LINE__; goto reporterr; }
} else {