diff options
Diffstat (limited to 'src/fragmentation/test_frag_ji.c')
-rw-r--r-- | src/fragmentation/test_frag_ji.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fragmentation/test_frag_ji.c b/src/fragmentation/test_frag_ji.c index 6512ddb03..4779abddd 100644 --- a/src/fragmentation/test_frag_ji.c +++ b/src/fragmentation/test_frag_ji.c | |||
@@ -41,7 +41,7 @@ main(int argc, char * argv[]){ | |||
41 | struct GNUNET_FRAGMENT_Context * ctx; | 41 | struct GNUNET_FRAGMENT_Context * ctx; |
42 | struct GNUNET_MessageHeader *msg = (struct GNUNET_MessageHeader *)GNUNET_malloc(sizeof(struct GNUNET_MessageHeader)+2*mtu); | 42 | struct GNUNET_MessageHeader *msg = (struct GNUNET_MessageHeader *)GNUNET_malloc(sizeof(struct GNUNET_MessageHeader)+2*mtu); |
43 | ctx = GNUNET_FRAGMENT_context_create(NULL, message_proc1, msg); | 43 | ctx = GNUNET_FRAGMENT_context_create(NULL, message_proc1, msg); |
44 | msg->size = htons(sizeof(struct GNUNET_MessageHeader)+2*mtu); | 44 | msg->size = htons(sizeof(struct GNUNET_MessageHeader)+4*mtu); |
45 | msg->type = htons(GNUNET_MESSAGE_TYPE_HELLO); | 45 | msg->type = htons(GNUNET_MESSAGE_TYPE_HELLO); |
46 | struct GNUNET_PeerIdentity *sender; | 46 | struct GNUNET_PeerIdentity *sender; |
47 | sender = (struct GNUNET_PeerIdentity *)GNUNET_malloc(sizeof(struct GNUNET_PeerIdentity)); | 47 | sender = (struct GNUNET_PeerIdentity *)GNUNET_malloc(sizeof(struct GNUNET_PeerIdentity)); |