From: Bart Polot Date: Thu, 16 May 2013 14:43:41 +0000 (+0000) Subject: - fix X-Git-Tag: initial-import-from-subversion-38251~9011 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f5a00303d231d09028cd15296a2382bf48074a1e;p=oweals%2Fgnunet.git - fix --- diff --git a/src/mesh/gnunet-service-mesh-new.c b/src/mesh/gnunet-service-mesh-new.c index 6433fc240..806b61764 100644 --- a/src/mesh/gnunet-service-mesh-new.c +++ b/src/mesh/gnunet-service-mesh-new.c @@ -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);