fix: rename uuid property to id
add: WIP discovery stuff
This commit is contained in:
parent
074c5c5750
commit
d679d99a92
6 changed files with 23 additions and 67 deletions
|
|
@ -48,9 +48,9 @@ controller_save(controller *cntrlr, MDB_env *mdb_env)
|
|||
exit(1);
|
||||
}
|
||||
|
||||
value.mv_size = sizeof(cntrlr->uuid);
|
||||
value.mv_data = cntrlr->uuid;
|
||||
if(controller_save_single(mdb_txn, mdb_dbi, KEY_META_UUID, value))
|
||||
value.mv_size = sizeof(cntrlr->id);
|
||||
value.mv_data = cntrlr->id;
|
||||
if(controller_save_single(mdb_txn, mdb_dbi, KEY_META_ID, value))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue