src/model.c: fix bug with root path at init
This commit is contained in:
parent
bad939f9d6
commit
dd00857495
|
@ -313,7 +313,7 @@ static bool model_init(struct model_t *self)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
model_populate_hashTable(self, node, "/");
|
model_populate_hashTable(self, node, "");
|
||||||
|
|
||||||
if (self->hashTable == NULL) {
|
if (self->hashTable == NULL) {
|
||||||
printerr("Can't create model hash table !\n");
|
printerr("Can't create model hash table !\n");
|
||||||
|
|
Loading…
Reference in New Issue