src/sync.c
branchkeysync
changeset 1172 15a75c0cc78f
parent 1167 781218f0c0d0
child 1173 5a8002f941e0
     1.1 --- a/src/sync.c	Wed Sep 21 12:44:17 2016 +0200
     1.2 +++ b/src/sync.c	Sat Sep 24 09:27:25 2016 +0200
     1.3 @@ -107,7 +107,7 @@
     1.4          void *management
     1.5      )
     1.6  {
     1.7 -    DeviceGroup_Protocol_t *msg = NULL;
     1.8 +    sync_msg_t *msg = NULL;
     1.9      PEP_STATUS status = PEP_STATUS_OK;
    1.10  
    1.11      assert(session && session->retrieve_next_sync_msg);
    1.12 @@ -118,7 +118,7 @@
    1.13  
    1.14      log_event(session, "sync_protocol thread started", "pEp sync protocol", NULL, NULL);
    1.15  
    1.16 -    while ((msg = (DeviceGroup_Protocol_t *) session->retrieve_next_sync_msg(management))) 
    1.17 +    while ((msg = (sync_msg_t *) session->retrieve_next_sync_msg(management))) 
    1.18      {
    1.19          if ((status = receive_sync_msg(session, msg) != PEP_STATUS_OK)) {
    1.20              char buffer[MAX_LINELENGTH];