08-04-2017, 04:12 PM
The dim action in the rewrite branch fails to execute and I found that the following lines 593-594 in dim.c did cause the error.
The following changes did fix the error.
Code:
data1->values = json_mkobject();
json_append_member(data1->values, "dimlevel", json_mknumber(data->to_dimlevel, 0));
The following changes did fix the error.
Code:
data1->values = json_mknumber(data->to_dimlevel, 0); // data1->values = json_mkobject();
data1->values->key = strdup("dimlevel"); //json_append_member(code, "dimlevel", json_mknumber(data->to_dimlevel, 0))