mirror of https://github.com/D4-project/d4-core
put new uuid in configuartion array instead in the header
parent
6843c61ba0
commit
34d74a7a23
|
@ -26,7 +26,7 @@ void d4_update_uuid(d4_t* d4)
|
|||
|
||||
if (d4->conf[UUID][0] == 0){
|
||||
uuid_generate(uuid);
|
||||
memcpy(&(d4->header.uuid), uuid, SZUUID);
|
||||
memcpy(d4->conf[UUID], uuid, SZUUID);
|
||||
filename = calloc(1,2*FILENAME_MAX);
|
||||
uuid_text = calloc(1, SZUUID_TEXT);
|
||||
if ((filename != NULL) && (uuid != NULL)) {
|
||||
|
|
Loading…
Reference in New Issue