projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a84afce
)
- how did this disappear from here???????
author
Bart Polot
<bart@net.in.tum.de>
Wed, 5 Jun 2013 18:08:48 +0000
(18:08 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Wed, 5 Jun 2013 18:08:48 +0000
(18:08 +0000)
src/mesh/mesh2_api.c
patch
|
blob
|
history
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));
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++;
}
}
t->next_send_pid++;