- fix
authorBart Polot <bart@net.in.tum.de>
Thu, 16 May 2013 14:43:41 +0000 (14:43 +0000)
committerBart Polot <bart@net.in.tum.de>
Thu, 16 May 2013 14:43:41 +0000 (14:43 +0000)
src/mesh/gnunet-service-mesh-new.c

index 6433fc240219844e2995e2fc6d8e8606322a77f5..806b6176472b3432c5e0b9a67a36902622dea4ab 100644 (file)
@@ -2507,8 +2507,8 @@ send_core_path_ack (void *cls, size_t size, void *buf)
   t->prev_fc.last_ack_sent = t->nobuffer ? 0 : INITIAL_WINDOW_SIZE - 1;
   msg->header.size = htons (sizeof (struct GNUNET_MESH_PathACK));
   msg->header.type = htons (GNUNET_MESSAGE_TYPE_MESH_PATH_ACK);
-  GNUNET_PEER_resolve (id->oid, &msg->oid);
-  msg->tid = htonl (id->tid);
+  GNUNET_PEER_resolve (t->id.oid, &msg->oid);
+  msg->tid = htonl (t->id.tid);
   msg->peer_id = my_full_id;
   msg->ack = htonl (t->prev_fc.last_ack_sent);