src/sync.c
branchkeysync
changeset 1091 0571ce4b97a2
parent 1078 5861b53e0536
child 1116 c9a03f2423c1
     1.1 --- a/src/sync.c	Mon Aug 29 15:02:16 2016 +0200
     1.2 +++ b/src/sync.c	Mon Aug 29 17:39:35 2016 +0200
     1.3 @@ -21,6 +21,10 @@
     1.4          retrieve_next_sync_msg_t retrieve_next_sync_msg
     1.5      )
     1.6  {
     1.7 +    unsigned char uuid[16];
     1.8 +    uuid_generate_random(uuid);
     1.9 +    uuid_unparse_upper(uuid, sync_uuid);
    1.10 +
    1.11      session->sync_obj = obj;
    1.12      session->messageToSend = messageToSend;
    1.13      session->showHandshake = showHandshake;