From ebb09b65cddeee11ea8a6e3a95eb328bc0f7711c Mon Sep 17 00:00:00 2001 From: Ji Lu Date: Thu, 1 Apr 2010 15:00:33 +0000 Subject: passed test --- src/fragmentation/fragmentation.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/fragmentation/fragmentation.c') diff --git a/src/fragmentation/fragmentation.c b/src/fragmentation/fragmentation.c index 74d5a6b4c..c3739a3e9 100644 --- a/src/fragmentation/fragmentation.c +++ b/src/fragmentation/fragmentation.c @@ -50,10 +50,9 @@ struct Fragment uint16_t off GNUNET_PACKED; /** - * "unique" id for the fragment - */ + * "unique" id for the fragment + */ uint32_t id GNUNET_PACKED; - uint16_t mtu; uint16_t totalNum; uint16_t totalSize; @@ -153,7 +152,6 @@ GNUNET_FRAGMENT_fragment (const struct GNUNET_MessageHeader *msg, } } - /** * Create a defragmentation context. * @@ -216,7 +214,6 @@ GNUNET_FRAGMENT_process (struct GNUNET_FRAGMENT_Context *ctx, buffer = ctx->buffer; while (buffer != NULL) { -//for(buffer = ctx->buffer; buffer != NULL; buffer = buffer->next){ if(buffer->id == ntohl(frag->id)&&(buffer->peerID==sender)){ exist = 1; break; -- cgit v1.2.3