Skip to content
Snippets Groups Projects
Commit 6576591a authored by clohr's avatar clohr
Browse files

cas avec devType vide

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/C/trunk@1935 b32b6428-25c9-4566-ad07-03861ab6144f
parent 856b9e2c
No related branches found
No related tags found
No related merge requests found
......@@ -553,7 +553,8 @@ void checking_attributes(const xAAL_businfo_t *bus, const xAAL_devinfo_t *me, db
if ( device->devinfo.devType && (strncmp(device->devinfo.devType, "cache.", len) == 0) )
json_object_array_add(jtargets, json_object_new_string(device->devinfo.addr));
TAILQ_FOREACH(device, &(db->devices), entries) {
TAILQ_FOREACH(device, &(db->devices), entries)
if ( device->devinfo.devType ) {
schema = add_schema(&(db->schemas), device->devinfo.devType);
struct json_object *jattributes = missing_values(device, schema);
if (json_object_array_length(jattributes) != 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment