diff --git a/modules/pico_fragments.c b/modules/pico_fragments.c index 2c7f3b6e..d5373a38 100644 --- a/modules/pico_fragments.c +++ b/modules/pico_fragments.c @@ -359,13 +359,9 @@ static int pico_fragments_reassemble(struct pico_tree *tree, unsigned int len, u pico_tree_delete(tree, f); pico_frame_discard(f); } - if (pico_transport_receive(full, proto) == -1) - { - pico_frame_discard(full); - } + pico_transport_receive(full, proto); return 0; } - return 1; }