From: Bart Polot Date: Sat, 18 Aug 2012 10:38:33 +0000 (+0000) Subject: - fix X-Git-Tag: initial-import-from-subversion-38251~12170 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=efaf47aaf743d5c209aac3bde13589de0c4b853a;p=oweals%2Fgnunet.git - fix --- diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c index 412180aa5..fe2dff4e5 100644 --- a/src/mesh/mesh_api.c +++ b/src/mesh/mesh_api.c @@ -702,7 +702,7 @@ send_ack (struct GNUNET_MESH_Handle *h, struct GNUNET_MESH_Tunnel *t) msg.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_ACK); msg.header.size = htons (sizeof (msg)); msg.tunnel_id = htonl (t->tid); - msg.max_pid = t->last_recv_pid + 1; + msg.max_pid = htonl (t->last_recv_pid + 1); send_packet (h, &msg.header, t); return;