From aa8154c504ead2c19ba3e0c59a48928e15cfc4b0 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 5 Jun 2013 18:08:48 +0000 Subject: [PATCH] - how did this disappear from here??????? --- src/mesh/mesh2_api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesh/mesh2_api.c b/src/mesh/mesh2_api.c index de6c3b6f2..62531b824 100644 --- a/src/mesh/mesh2_api.c +++ b/src/mesh/mesh2_api.c @@ -1257,6 +1257,7 @@ send_callback (void *cls, size_t size, void *buf) uc.pid = htonl (t->next_send_pid); uc.ttl = 0; memset (&uc.oid, 0, sizeof (struct GNUNET_PeerIdentity)); + memcpy (cbuf, &uc, sizeof (uc)); } } t->next_send_pid++; -- 2.25.1