put new uuid in configuartion array instead in the header

pull/23/head
Gerard Wagener 2018-12-03 14:26:37 +01:00
parent 6843c61ba0
commit 34d74a7a23
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {