projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- how did this disappear from here???????
[oweals/gnunet.git]
/
src
/
mesh
/
mesh2_api.c
diff --git
a/src/mesh/mesh2_api.c
b/src/mesh/mesh2_api.c
index de6c3b6f233ac44a17ea81469d639df897bc84a5..62531b824463b40e737c7e3233be38620c5c3fd0 100644
(file)
--- 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++;